Home
last modified time | relevance | path

Searched refs:asgi (Results 1 – 3 of 3) sorted by relevance

/unit/src/python/
H A Dnxt_python_asgi.c422 asgi = nxt_py_asgi_http_create(req); in nxt_py_asgi_request_handler()
425 if (nxt_slow_path(asgi == NULL)) { in nxt_py_asgi_request_handler()
463 req->data = asgi; in nxt_py_asgi_request_handler()
557 Py_DECREF(asgi); in nxt_py_asgi_request_handler()
1321 PyObject *scope, *asgi; in nxt_py_asgi_new_scope() local
1341 asgi = PyDict_New(); in nxt_py_asgi_new_scope()
1342 if (nxt_slow_path(asgi == NULL)) { in nxt_py_asgi_new_scope()
1355 Py_DECREF(asgi); in nxt_py_asgi_new_scope()
1367 Py_DECREF(asgi); in nxt_py_asgi_new_scope()
1380 Py_DECREF(asgi); in nxt_py_asgi_new_scope()
[all …]
H A Dnxt_python.c91 static const nxt_str_t asgi = nxt_string("asgi"); in nxt_python_start() local
242 ? asgi : wsgi; in nxt_python_start()
246 ? asgi : wsgi; in nxt_python_start()
255 if (nxt_strstr_eq(&proto, &asgi)) { in nxt_python_start()
/unit/src/
H A Dnxt_conf_validation.c1773 static const nxt_str_t asgi = nxt_string("asgi"); in nxt_conf_vldt_python_protocol() local
1777 if (nxt_strstr_eq(&proto, &wsgi) || nxt_strstr_eq(&proto, &asgi)) { in nxt_conf_vldt_python_protocol()