0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/test
Loïc Hoguin e7114577bb
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.
2017-10-23 14:49:33 +01:00
..
handlers Ensure stream terminate is called when switching protocols 2017-10-22 14:53:04 +01:00
http_SUITE_data Fix the remaining http_SUITE test cases 2017-07-14 19:09:42 +02:00
static_handler_SUITE_data cowboy_static: Add support for files in EZ archives 2017-01-24 11:36:58 +01:00
ws_SUITE_data Allow passing options to sub protocols 2017-02-18 18:26:20 +01:00
compress_SUITE.erl Fix a harmless warning in tests 2017-05-23 14:10:05 +02:00
cover.spec Use ct_run instead of rebar ct for running ct tests 2013-01-04 17:56:49 +01:00
cowboy_ct_hook.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_test.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00
examples_SUITE.erl Add test for the compress_response example 2017-02-05 17:32:03 +01:00
h2spec_SUITE.erl Add a test suite for h2spec 2017-05-23 14:05:00 +02:00
http2_SUITE.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00
http_SUITE.erl Fix the remaining http_SUITE test cases 2017-07-14 19:09:42 +02:00
loop_handler_SUITE.erl Add the idle_timeout HTTP/1.1 protocol option 2017-05-03 17:44:00 +02:00
metrics_SUITE.erl Add a metrics test for switching to Websocket 2017-10-22 14:54:13 +01:00
misc_SUITE.erl Make sure a path parsing error in the router gives a 400 2017-10-03 00:30:15 +02:00
req_SUITE.erl Fix infinite loop on incomplete multipart body 2017-10-02 13:28:43 +02:00
rfc7230_SUITE.erl Rewrite the tests for header name/value limits 2017-01-03 18:07:39 +01:00
rfc7540_SUITE.erl Fix a bug in HTTP/2 where connection gets closed prematurely 2017-10-23 14:49:33 +01:00
static_handler_SUITE.erl Add a static handler test with an empty file 2017-09-04 18:00:56 +02:00
stream_handler_SUITE.erl Ensure stream terminate is called when switching protocols 2017-10-22 14:53:04 +01:00
ws_SUITE.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00