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 40b8d0befc Better handle socket closing with loop handlers
We now read from the socket to be able to detect errors or TCP close
events, and buffer the data if any. Once the data receive goes over
a certain limit, which defaults to 5000 bytes, we simply close the
connection with an {error, overflow} reason.
2013-02-11 09:03:13 +01:00
..
autobahn_SUITE_data Update autobahntestsuite to 0.5.2 2013-01-10 19:54:10 +01:00
http_SUITE_data Initial work on a ct test suite for the HTTP protocol. 2011-04-08 16:30:37 +02:00
autobahn_SUITE.erl New routing 2013-01-28 16:53:09 +01:00
chunked_handler.erl Do not require inets for running tests anymore 2013-01-22 14:22:28 +01:00
cover.spec Use ct_run instead of rebar ct for running ct tests 2013-01-04 17:56:49 +01:00
eunit_SUITE.erl Fix a small warning in eunit_SUITE 2013-01-05 23:35:13 +01:00
http_handler.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_handler_echo_body.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_handler_errors.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_handler_init_shutdown.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_handler_long_polling.erl Better handle socket closing with loop handlers 2013-02-11 09:03:13 +01:00
http_handler_loop_timeout.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_handler_multipart.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_handler_set_resp.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_handler_stream_body.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
http_SUITE.erl Better handle socket closing with loop handlers 2013-02-11 09:03:13 +01:00
rest_created_path_resource.erl allow POST rest handling to specify path after accepting content 2013-01-29 13:12:53 -06:00
rest_expires.erl Remove the dependency on httpd_util 2012-12-03 15:57:27 +01:00
rest_forbidden_resource.erl Don't use decode_packet/3 for parsing the request-line 2012-09-21 08:54:57 +02:00
rest_missing_callbacks.erl Add a better error message when user callbacks are not exported 2012-11-29 16:15:28 +01:00
rest_nodelete_resource.erl Don't use decode_packet/3 for parsing the request-line 2012-09-21 08:54:57 +02:00
rest_patch_resource.erl add patch support to cowboy_rest 2013-01-29 11:34:20 -06:00
rest_resource_etags.erl Rename cowboy_http_rest to cowboy_rest 2012-08-27 13:39:59 +02:00
rest_simple_resource.erl Rename cowboy_http_rest to cowboy_rest 2012-08-27 13:39:59 +02:00
websocket_echo_handler.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
websocket_handler.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
websocket_handler_init_shutdown.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
ws_send_many_handler.erl Add more frame types available in websocket replies 2012-12-02 21:37:24 +01:00
ws_SUITE.erl New routing 2013-01-28 16:53:09 +01:00
ws_timeout_cancel_handler.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
ws_timeout_hibernate_handler.erl Replace terminate/2 with terminate/3, adding a Reason 2013-01-22 02:34:18 +01:00
ws_upgrade_with_opts_handler.erl Allow passing the Req and an updated Opts when upgrading protocols 2012-12-03 15:52:09 +01:00