summaryrefslogtreecommitdiffhomepage
path: root/src/python/nxt_python_asgi.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-11-18 22:33:53 +0300
committerMax Romanov <max.romanov@nginx.com>2020-11-18 22:33:53 +0300
commit6c3c83561a97b91f18a771e0c582c5ed4013a9a6 (patch)
tree32ebaf18f1ea9efdac9fc2b32eb5f7d49727d603 /src/python/nxt_python_asgi.h
parent300347a5cffa4187921384bdd02c5bb90875f9e5 (diff)
downloadunit-6c3c83561a97b91f18a771e0c582c5ed4013a9a6.tar.gz
unit-6c3c83561a97b91f18a771e0c582c5ed4013a9a6.tar.bz2
Libunit: closing active requests on quit.
Diffstat (limited to 'src/python/nxt_python_asgi.h')
-rw-r--r--src/python/nxt_python_asgi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/nxt_python_asgi.h b/src/python/nxt_python_asgi.h
index c3c3e17a..37f2a099 100644
--- a/src/python/nxt_python_asgi.h
+++ b/src/python/nxt_python_asgi.h
@@ -58,6 +58,7 @@ int nxt_py_asgi_http_init(void);
PyObject *nxt_py_asgi_http_create(nxt_unit_request_info_t *req);
void nxt_py_asgi_http_data_handler(nxt_unit_request_info_t *req);
int nxt_py_asgi_http_drain(nxt_queue_link_t *lnk);
+void nxt_py_asgi_http_close_handler(nxt_unit_request_info_t *req);
int nxt_py_asgi_websocket_init(void);
PyObject *nxt_py_asgi_websocket_create(nxt_unit_request_info_t *req);