Home
last modified time | relevance | path

Searched refs:asgi (Results 1 – 3 of 3) sorted by last modified time

/unit/src/
H A Dnxt_conf_validation.c1821 static const nxt_str_t asgi = nxt_string("asgi"); in nxt_conf_vldt_python_protocol() local
1825 if (nxt_strstr_eq(&proto, &wsgi) || nxt_strstr_eq(&proto, &asgi)) { in nxt_conf_vldt_python_protocol()
/unit/src/python/
H A Dnxt_python.c91 static const nxt_str_t asgi = nxt_string("asgi"); in nxt_python_start() local
241 ? asgi : wsgi; in nxt_python_start()
245 ? asgi : wsgi; in nxt_python_start()
254 if (nxt_strstr_eq(&proto, &asgi)) { in nxt_python_start()
H A Dnxt_python_asgi.c424 asgi = nxt_py_asgi_http_create(req); in nxt_py_asgi_request_handler()
427 if (nxt_slow_path(asgi == NULL)) { in nxt_py_asgi_request_handler()
465 req->data = asgi; in nxt_py_asgi_request_handler()
559 Py_DECREF(asgi); in nxt_py_asgi_request_handler()
1363 PyObject *scope, *asgi; in nxt_py_asgi_new_scope() local
1383 asgi = PyDict_New(); in nxt_py_asgi_new_scope()
1384 if (nxt_slow_path(asgi == NULL)) { in nxt_py_asgi_new_scope()
1397 Py_DECREF(asgi); in nxt_py_asgi_new_scope()
1409 Py_DECREF(asgi); in nxt_py_asgi_new_scope()
1422 Py_DECREF(asgi); in nxt_py_asgi_new_scope()
[all …]