0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/src
Loïc Hoguin cc54c207e3
Implement flow control for HTTP/1.1
We now stop reading from the socket unless asked to,
when we reach the request body. The option
initial_stream_flow_size controls how much data
we read without being asked, as an optimization.
We may also have received additional data along
with the request headers.

This commit also reworks the timeout handling for HTTP/1.1
because the stray timeout message was easily reproducible
after implementing the flow control. The issue should be
gone for good this time.
2019-10-09 20:54:33 +02:00
..
cowboy.erl Improve a few types, including cowboy_req:req() 2018-10-31 14:11:45 +01:00
cowboy_app.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_bstr.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_children.erl Handle supervisor calls properly everywhere 2018-03-13 10:40:14 +01:00
cowboy_clear.erl Make Cowboy compatible with upcoming Ranch 2.0 2019-07-16 15:35:45 +02:00
cowboy_clock.erl Don't crash when cowboy_clock is not running 2017-11-01 17:06:37 +00:00
cowboy_compress_h.erl Make cowboy_compress_h add vary: accept-encoding 2019-10-04 13:32:35 +02:00
cowboy_constraints.erl Fix more documentation todos 2017-09-04 14:33:44 +02:00
cowboy_handler.erl Bind erlang:get_stacktrace prior to making other calls 2019-04-03 13:54:32 +02:00
cowboy_http.erl Implement flow control for HTTP/1.1 2019-10-09 20:54:33 +02:00
cowboy_http2.erl Document cowboy_tracer_h 2019-10-07 10:43:22 +02:00
cowboy_loop.erl Bind erlang:get_stacktrace prior to making other calls 2019-04-03 13:54:32 +02:00
cowboy_metrics_h.erl Add {set_options, #{metrics_user_data := Map}} 2019-10-02 15:23:23 +02:00
cowboy_middleware.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_req.erl Add cowboy_req:cast/2 2019-10-07 13:25:49 +02:00
cowboy_rest.erl Document media type wildcard in content_types_accepted 2019-10-03 16:20:29 +02:00
cowboy_router.erl Add persistent_term support to the router 2019-09-28 15:40:41 +02:00
cowboy_static.erl Improve the cowboy_static consistency across platforms 2019-09-07 12:18:16 +02:00
cowboy_stream.erl Add the set_options stream handler command 2018-11-15 18:53:42 +01:00
cowboy_stream_h.erl Ensure we can stream the response body from any process 2019-10-02 20:30:32 +02:00
cowboy_sub_protocol.erl Allow passing options to sub protocols 2017-02-18 18:26:20 +01:00
cowboy_sup.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_tls.erl Make Cowboy compatible with upcoming Ranch 2.0 2019-07-16 15:35:45 +02:00
cowboy_tracer_h.erl Improve a few types, including cowboy_req:req() 2018-10-31 14:11:45 +01:00
cowboy_websocket.erl Add Websocket option validate_utf8 2019-10-05 17:32:50 +02:00