diff options
author | Max Romanov <max.romanov@nginx.com> | 2021-07-20 10:37:50 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2021-07-20 10:37:50 +0300 |
commit | 567545213d95e608b54ce92bfc33fac4327a9f93 (patch) | |
tree | b30768897e27112b1335d583c446982fefd3dfa7 /NOTICE | |
parent | daa051e7e7266325ef38a606b3aee4377a73f0d0 (diff) | |
download | unit-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 'NOTICE')
0 files changed, 0 insertions, 0 deletions