aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ssl_hello_world
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-01-16 17:33:49 +0100
committerLoïc Hoguin <[email protected]>2020-01-17 11:42:28 +0100
commit752297b1539b4f74c9329c873f78485a52b5b8bd (patch)
treef874c4f3fc5bf2c3f5db94a62155a0b2b067f4e4 /examples/ssl_hello_world
parentedea415da87d7f6fe9f4fcd4306ce3e7e38727ed (diff)
downloadcowboy-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 'examples/ssl_hello_world')
0 files changed, 0 insertions, 0 deletions