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 /docs | |
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 '')
-rw-r--r-- | docs/changes.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/changes.xml b/docs/changes.xml index dd8fb731..68db823d 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -65,6 +65,13 @@ a full-form IPv6 in a listener address. </para> </change> +<change type="bugfix"> +<para> +compatibility issues with some Python ASGI apps, notably based on Starlette +framework. +</para> +</change> + </changes> |