summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnbit <info@unbit.it>2017-04-04 12:07:28 +0200
committerUnbit <info@unbit.it>2017-04-04 12:07:28 +0200
commit376accee85091eb23492a6c747a16af72a53c40c (patch)
tree6c1e000b49a1e216d0e013a90fe3ebd59478fc53
parentc4bd235514f63a08222d435a6b3b670c213cf68b (diff)
downloaduwsgi-asgi.tar.gz
added note for asgi implementationasgi
-rw-r--r--plugins/python/asgi_subhandler.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/python/asgi_subhandler.c b/plugins/python/asgi_subhandler.c
index 24a9e3b0..266474be 100644
--- a/plugins/python/asgi_subhandler.c
+++ b/plugins/python/asgi_subhandler.c
@@ -2,7 +2,16 @@
extern struct uwsgi_server uwsgi;
extern struct uwsgi_python up;
-extern PyTypeObject uwsgi_InputType;
+
+
+/*
+
+TODO:
+
+define a new type ASGIReplyChannl exposing a send() method
+calling the write protocol hook
+
+*/
void *uwsgi_request_subhandler_asgi(struct wsgi_request *wsgi_req, struct uwsgi_app *wi) {