diff options
author | Loïc Hoguin <[email protected]> | 2017-11-01 15:33:10 +0000 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-11-01 15:33:10 +0000 |
commit | 83bd8bc935cbbba39c8c706a1f7d5a6e9ac932ef (patch) | |
tree | 168cd9ffcffe5a8caaaa9dd8b2459d3bd4fa52f1 /doc/src/guide | |
parent | 774824cd0f37e5956e1dd8f903be990c3ce4666a (diff) | |
download | cowboy-83bd8bc935cbbba39c8c706a1f7d5a6e9ac932ef.tar.gz cowboy-83bd8bc935cbbba39c8c706a1f7d5a6e9ac932ef.tar.bz2 cowboy-83bd8bc935cbbba39c8c706a1f7d5a6e9ac932ef.zip |
Fix two edge cases for cowboy_req:stream_body
Sending data of size 0 with the fin flag set resulted in nothing
being sent to the client and still considering the response to
be finished for HTTP/1.1.
For both HTTP/1.1 and HTTP/2, the final chunk of body that is
sent automatically by Cowboy at the end of a response that the
user did not properly terminate was not passing through stream
handlers. This resulted in issues like compression being incorrect.
Some tests still fail under 20.1.3. They are due to recent zlib
changes and should be fixed in a future patch release. Unfortunately
it does not seem to be any 20.1 version that is safe to use for
Cowboy, although some will work better than others.
Diffstat (limited to 'doc/src/guide')
0 files changed, 0 insertions, 0 deletions