summaryrefslogtreecommitdiffhomepage
path: root/docs/changes.xml
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 /docs/changes.xml
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 'docs/changes.xml')
-rw-r--r--docs/changes.xml7
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>