diff options
author | Loïc Hoguin <[email protected]> | 2017-10-23 14:49:33 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-10-23 14:49:33 +0100 |
commit | e7114577bb1a2e871cfd5e44d403da3e326787af (patch) | |
tree | 571888a68816302214d69d846969ac485a437240 /test/examples_SUITE.erl | |
parent | 133d359674414587d34c5f58361513eb13bb55aa (diff) | |
download | cowboy-e7114577bb1a2e871cfd5e44d403da3e326787af.tar.gz cowboy-e7114577bb1a2e871cfd5e44d403da3e326787af.tar.bz2 cowboy-e7114577bb1a2e871cfd5e44d403da3e326787af.zip |
Fix a bug in HTTP/2 where connection gets closed prematurely
When the user code was sending a response fully without reading
the request body, the connection could get closed when receiving
DATA frames for that body. We now ask the client to stop sending
data via a NO_ERROR RST_STREAM, and linger any stream that has
been reset so that we can skip any pending frames from that
stream.
This fixes a number of intermittent failures in req_SUITE, which
now passes reliably.
In addition a small number of rfc7540_SUITE test cases have been
corrected as they were incorrect.
Diffstat (limited to 'test/examples_SUITE.erl')
0 files changed, 0 insertions, 0 deletions