aboutsummaryrefslogtreecommitdiffstats
path: root/test/http2_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-12-12 12:05:54 +0100
committerLoïc Hoguin <[email protected]>2023-12-12 15:05:33 +0100
commitefb681d74982dd048638b00c3c275091ba1d4a2a (patch)
tree1e2c4dba8002471ca3427471306da362d7c045da /test/http2_SUITE.erl
parent3f5f326b732e3dbd1c335b854e78f5927f2f48fa (diff)
downloadcowboy-efb681d74982dd048638b00c3c275091ba1d4a2a.tar.gz
cowboy-efb681d74982dd048638b00c3c275091ba1d4a2a.tar.bz2
cowboy-efb681d74982dd048638b00c3c275091ba1d4a2a.zip
Handle socket errors in HTTP/1.1 and HTTP/2
Doing so will let us notice when the connection is gone instead of waiting for timeouts, at least in the cases where the remote socket was closed properly. Timeouts are still needed in case of TCP half-open problems. This change means that the order of stream handler commands is more important than before because socket errors may occur during the processing of commands.
Diffstat (limited to 'test/http2_SUITE.erl')
0 files changed, 0 insertions, 0 deletions