diff options
author | Loïc Hoguin <[email protected]> | 2019-10-09 20:54:33 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-09 20:54:33 +0200 |
commit | cc54c207e35f3ab7a2dfc105eef39fe7d3bf1633 (patch) | |
tree | c33b7e9398d2c4b4a1c1906e27383185673004df /test/rfc7538_SUITE.erl | |
parent | 0c4103984b28c9df1770a0eea0d14ba9cacc49e0 (diff) | |
download | cowboy-cc54c207e35f3ab7a2dfc105eef39fe7d3bf1633.tar.gz cowboy-cc54c207e35f3ab7a2dfc105eef39fe7d3bf1633.tar.bz2 cowboy-cc54c207e35f3ab7a2dfc105eef39fe7d3bf1633.zip |
Implement flow control for HTTP/1.1
We now stop reading from the socket unless asked to,
when we reach the request body. The option
initial_stream_flow_size controls how much data
we read without being asked, as an optimization.
We may also have received additional data along
with the request headers.
This commit also reworks the timeout handling for HTTP/1.1
because the stray timeout message was easily reproducible
after implementing the flow control. The issue should be
gone for good this time.
Diffstat (limited to 'test/rfc7538_SUITE.erl')
0 files changed, 0 insertions, 0 deletions