Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make gevent.pywsgi stop dealing with chunks when the connection is be…
…ing upgraded. Let the application have full control over input and output. Fixes #1712.
- Loading branch information
Showing
3 changed files
with
74 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Make `gevent.pywsgi` trying to enforce the rules for reading chunked input or | ||
``Content-Length`` terminated input when the connection is being | ||
upgraded, for example to a websocket connection. Likewise, if the | ||
protocol was switched by returning a ``101`` status, stop trying to | ||
automatically chunk the responses. | ||
|
||
Reported by Kavindu Santhusa. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters