0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/test
Loïc Hoguin 83bd8bc935
Fix two edge cases for cowboy_req:stream_body
Sending data of size 0 with the fin flag set resulted in nothing
being sent to the client and still considering the response to
be finished for HTTP/1.1.

For both HTTP/1.1 and HTTP/2, the final chunk of body that is
sent automatically by Cowboy at the end of a response that the
user did not properly terminate was not passing through stream
handlers. This resulted in issues like compression being incorrect.

Some tests still fail under 20.1.3. They are due to recent zlib
changes and should be fixed in a future patch release. Unfortunately
it does not seem to be any 20.1 version that is safe to use for
Cowboy, although some will work better than others.
2017-11-01 15:33:10 +00:00
..
handlers Fix two edge cases for cowboy_req:stream_body 2017-11-01 15:33:10 +00: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 Add cowboy_tracer_h stream handler 2017-10-27 17:18:28 +01: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 Fix broken tests in loop_handler_SUITE 2017-10-31 16:49:48 +00:00
metrics_SUITE.erl Add informational responses to metrics 2017-10-31 15:04:00 +00: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 two edge cases for cowboy_req:stream_body 2017-11-01 15:33:10 +00: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 some todos 2017-10-31 17:15:11 +00:00
stream_handler_SUITE.erl Ensure stream terminate is called when switching protocols 2017-10-22 14:53:04 +01:00
tracer_SUITE.erl Add cowboy_tracer_h stream handler 2017-10-27 17:18:28 +01:00
ws_SUITE.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00