diff options
author | Loïc Hoguin <[email protected]> | 2020-01-16 17:33:49 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-01-17 11:42:28 +0100 |
commit | 752297b1539b4f74c9329c873f78485a52b5b8bd (patch) | |
tree | f874c4f3fc5bf2c3f5db94a62155a0b2b067f4e4 /doc/src/manual/cowboy_middleware.asciidoc | |
parent | edea415da87d7f6fe9f4fcd4306ce3e7e38727ed (diff) | |
download | cowboy-752297b1539b4f74c9329c873f78485a52b5b8bd.tar.gz cowboy-752297b1539b4f74c9329c873f78485a52b5b8bd.tar.bz2 cowboy-752297b1539b4f74c9329c873f78485a52b5b8bd.zip |
Fix bugs related to HTTP/1.1 pipelining
The flow control is now only set to infinity when we are
skipping the request body of the stream that is being
terminated. This fixes a bug where it was set to infinity
while reading a subsequent request's body, leading to a
crash.
The timeout is no longer reset on stream termination.
Timeout handling is already done when receiving data
from the socket and doing a reset on stream termination
was leading to the wrong timeout being set or the right
timeout being reset needlessly.
Diffstat (limited to 'doc/src/manual/cowboy_middleware.asciidoc')
0 files changed, 0 insertions, 0 deletions