summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_isolation.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2021-07-20 10:37:50 +0300
committerMax Romanov <max.romanov@nginx.com>2021-07-20 10:37:50 +0300
commit567545213d95e608b54ce92bfc33fac4327a9f93 (patch)
treeb30768897e27112b1335d583c446982fefd3dfa7 /src/nxt_isolation.h
parentdaa051e7e7266325ef38a606b3aee4377a73f0d0 (diff)
downloadunit-567545213d95e608b54ce92bfc33fac4327a9f93.tar.gz
unit-567545213d95e608b54ce92bfc33fac4327a9f93.tar.bz2
Python: fixing ASGI receive() issues.
The receive() call never blocks for a GET request and always returns the same empty body message. The Starlette framework creates a separate task when receive() is called in a loop until an 'http.disconnect' message is received. The 'http.disconnect' message was previously issued after the response header had been sent. However, the correct behavior is to respond with 'http.disconnect' after sending the response is complete. This closes #564 issue on GitHub.
Diffstat (limited to 'src/nxt_isolation.h')
0 files changed, 0 insertions, 0 deletions