0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/doc/src/manual
Loïc Hoguin 48f417ac8f
Fix and optimize sending of WINDOW_UPDATE frames
For long-running connections it was possible for the connection
window to become larger than allowed by the protocol because the
window increases claimed by stream handlers were never reclaimed
even if no data was consumed.

The new code applies heuristics to fix this and reduce the number
of WINDOW_UPDATE frames that are sent. It includes six new options
to control that behavior: margin, max and threshold for both the
connection and stream windows. The margin is some extra space
added on top of the requested read size. The max is the maximum
window size at any given time. The threshold is a minimum window
size that must be reached before we even consider sending more
WINDOW_UPDATE frames. We also avoid sending WINDOW_UPDATE frames
when there is already enough space in the window, or when the
read size is 0.

Cowlib is set to master until a new tag is done.
2019-09-05 14:07:38 +02:00
..
cowboy.asciidoc Websocket options are no longer per listener 2017-07-19 00:49:48 +02:00
cowboy.set_env.asciidoc Tweak small things in the cowboy manual 2016-11-05 14:22:18 +02:00
cowboy.start_clear.asciidoc Fix more documentation todos 2017-09-04 14:33:44 +02:00
cowboy.start_tls.asciidoc Fix a few examples using cert instead of certfile 2019-05-13 11:25:00 +02:00
cowboy.stop_listener.asciidoc Update manual for the cowboy module 2016-09-25 17:32:41 +02:00
cowboy_app.asciidoc Document cowboy_stream_h/cowboy_compress_h 2018-11-18 23:03:30 +01:00
cowboy_compress_h.asciidoc Document cowboy_stream_h/cowboy_compress_h 2018-11-18 23:03:30 +01:00
cowboy_constraints.asciidoc Fix more documentation todos 2017-09-04 14:33:44 +02:00
cowboy_constraints.int.asciidoc Fix more documentation todos 2017-09-04 14:33:44 +02:00
cowboy_constraints.nonempty.asciidoc Fix more documentation todos 2017-09-04 14:33:44 +02:00
cowboy_handler.asciidoc Update cowboy_loop manual 2016-12-23 17:20:54 +01:00
cowboy_handler.terminate.asciidoc Fix more documentation todos 2017-09-04 14:33:44 +02:00
cowboy_http.asciidoc Document cowboy_stream_h/cowboy_compress_h 2018-11-18 23:03:30 +01:00
cowboy_http2.asciidoc Fix and optimize sending of WINDOW_UPDATE frames 2019-09-05 14:07:38 +02:00
cowboy_loop.asciidoc Allow passing options to sub protocols 2017-02-18 18:26:20 +01:00
cowboy_middleware.asciidoc Update cowboy_middleware 2016-12-23 18:52:02 +01:00
cowboy_req.asciidoc Add cowboy_req:read_and_match_urlencoded_body/2,3 2018-09-07 13:56:12 +02:00
cowboy_req.binding.asciidoc Update the cowboy_router manual 2016-12-22 12:53:21 +01:00
cowboy_req.bindings.asciidoc Change the type of bindings from a list to a map 2017-02-19 16:51:16 +01:00
cowboy_req.body_length.asciidoc Add the man pages for body reading functions 2016-12-02 16:50:55 +01:00
cowboy_req.cert.asciidoc Fix a few examples using cert instead of certfile 2019-05-13 11:25:00 +02:00
cowboy_req.delete_resp_header.asciidoc Improve the manual for the new resp_header functions 2017-01-04 19:21:23 +01:00
cowboy_req.has_body.asciidoc Add the man pages for body reading functions 2016-12-02 16:50:55 +01:00
cowboy_req.has_resp_body.asciidoc Add man pages for the reply functions 2016-12-21 15:47:44 +01:00
cowboy_req.has_resp_header.asciidoc Improve the manual for the new resp_header functions 2017-01-04 19:21:23 +01:00
cowboy_req.header.asciidoc Add man pages for the reply functions 2016-12-21 15:47:44 +01:00
cowboy_req.headers.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.host.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.host_info.asciidoc Update the cowboy_router manual 2016-12-22 12:53:21 +01:00
cowboy_req.inform.asciidoc Fix some formatting issues in the manual 2018-06-08 13:27:03 +02:00
cowboy_req.match_cookies.asciidoc Add man pages for the parse/match/binding cowboy_req functions 2016-11-07 18:03:47 +02:00
cowboy_req.match_qs.asciidoc Add man pages for the parse/match/binding cowboy_req functions 2016-11-07 18:03:47 +02:00
cowboy_req.method.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.parse_cookies.asciidoc Fix a small issue in the cowboy_req:parse_cookies manual 2018-01-29 12:57:33 +01:00
cowboy_req.parse_header.asciidoc Remove transfer-encoding parsing from cowboy_req 2017-09-05 13:25:06 +02:00
cowboy_req.parse_qs.asciidoc Add man pages for parse_qs, match_qs and parse_header 2016-11-07 01:12:30 +02:00
cowboy_req.path.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.path_info.asciidoc Update the cowboy_router manual 2016-12-22 12:53:21 +01:00
cowboy_req.peer.asciidoc Introduce cowboy_req:sock/1 and cowboy_req:cert/1 2017-10-25 21:03:26 +01:00
cowboy_req.port.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.push.asciidoc Fix some formatting issues in the manual 2018-06-08 13:27:03 +02:00
cowboy_req.qs.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.read_and_match_urlencoded_body.asciidoc Add cowboy_req:read_and_match_urlencoded_body/2,3 2018-09-07 13:56:12 +02:00
cowboy_req.read_body.asciidoc Add cowboy_req:read_and_match_urlencoded_body/2,3 2018-09-07 13:56:12 +02:00
cowboy_req.read_part.asciidoc Add cowboy_req:read_and_match_urlencoded_body/2,3 2018-09-07 13:56:12 +02:00
cowboy_req.read_part_body.asciidoc Add cowboy_req:read_and_match_urlencoded_body/2,3 2018-09-07 13:56:12 +02:00
cowboy_req.read_urlencoded_body.asciidoc Add cowboy_req:read_and_match_urlencoded_body/2,3 2018-09-07 13:56:12 +02:00
cowboy_req.reply.asciidoc Fix some formatting issues in the manual 2018-06-08 13:27:03 +02:00
cowboy_req.resp_header.asciidoc Improve the manual for the new resp_header functions 2017-01-04 19:21:23 +01:00
cowboy_req.resp_headers.asciidoc Improve the manual for the new resp_header functions 2017-01-04 19:21:23 +01:00
cowboy_req.scheme.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.set_resp_body.asciidoc Improve the manual for the new resp_header functions 2017-01-04 19:21:23 +01:00
cowboy_req.set_resp_cookie.asciidoc Fix calling convention for set_resp_cookie/3 2019-04-02 15:40:05 +02:00
cowboy_req.set_resp_header.asciidoc Improve the manual for the new resp_header functions 2017-01-04 19:21:23 +01:00
cowboy_req.set_resp_headers.asciidoc Improve the manual for the new resp_header functions 2017-01-04 19:21:23 +01:00
cowboy_req.sock.asciidoc Fix the introduction version for the new 2.1 functions 2017-11-09 13:21:29 +00:00
cowboy_req.stream_body.asciidoc Add sendfile support to cowboy_req:stream_body 2018-11-09 17:42:37 +01:00
cowboy_req.stream_events.asciidoc Document cowboy_req:stream_events/3 2018-06-27 10:29:49 +02:00
cowboy_req.stream_reply.asciidoc Document cowboy_req:stream_events/3 2018-06-27 10:29:49 +02:00
cowboy_req.stream_trailers.asciidoc Document cowboy_req:stream_events/3 2018-06-27 10:29:49 +02:00
cowboy_req.uri.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_req.version.asciidoc Partially update manual for the cowboy_req 2016-11-05 14:17:30 +02:00
cowboy_rest.asciidoc Test stop against all relevant REST callbacks 2018-11-05 10:30:26 +01:00
cowboy_router.asciidoc Change the type of bindings from a list to a map 2017-02-19 16:51:16 +01:00
cowboy_router.compile.asciidoc Fix an example missing a " in the manual 2018-06-11 15:57:21 +02:00
cowboy_static.asciidoc Add a charset option to cowboy_static 2018-11-02 15:36:41 +01:00
cowboy_stream.asciidoc Document cowboy_stream_h/cowboy_compress_h 2018-11-18 23:03:30 +01:00
cowboy_stream_h.asciidoc Document cowboy_stream_h/cowboy_compress_h 2018-11-18 23:03:30 +01:00
cowboy_websocket.asciidoc Add deflate options for Websocket compression 2018-11-12 18:12:44 +01:00
http_status_codes.asciidoc Convert the documentation to Asciidoc 2016-01-14 13:37:20 +01:00