mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Document reset_idle_timeout_on_send option
This commit is contained in:
parent
08c2be058a
commit
f060e6c4ff
2 changed files with 35 additions and 21 deletions
|
@ -36,6 +36,7 @@ opts() :: #{
|
||||||
max_skip_body_length => non_neg_integer(),
|
max_skip_body_length => non_neg_integer(),
|
||||||
proxy_header => boolean(),
|
proxy_header => boolean(),
|
||||||
request_timeout => timeout(),
|
request_timeout => timeout(),
|
||||||
|
reset_idle_timeout_on_send => boolean(),
|
||||||
sendfile => boolean(),
|
sendfile => boolean(),
|
||||||
stream_handlers => [module()]
|
stream_handlers => [module()]
|
||||||
}
|
}
|
||||||
|
@ -148,6 +149,11 @@ request_timeout (5000)::
|
||||||
|
|
||||||
Time in ms with no requests before Cowboy closes the connection.
|
Time in ms with no requests before Cowboy closes the connection.
|
||||||
|
|
||||||
|
reset_idle_timeout_on_send (false)::
|
||||||
|
|
||||||
|
Whether the `idle_timeout` gets reset when sending data
|
||||||
|
to the socket.
|
||||||
|
|
||||||
sendfile (true)::
|
sendfile (true)::
|
||||||
|
|
||||||
Whether the sendfile syscall may be used. It can be useful to disable
|
Whether the sendfile syscall may be used. It can be useful to disable
|
||||||
|
@ -160,6 +166,7 @@ Ordered list of stream handlers that will handle all stream events.
|
||||||
|
|
||||||
== Changelog
|
== Changelog
|
||||||
|
|
||||||
|
* *2.11*: The `reset_idle_timeout_on_send` option was added.
|
||||||
* *2.8*: The `active_n` option was added.
|
* *2.8*: The `active_n` option was added.
|
||||||
* *2.7*: The `initial_stream_flow_size` and `logger` options were added.
|
* *2.7*: The `initial_stream_flow_size` and `logger` options were added.
|
||||||
* *2.6*: The `chunked`, `http10_keepalive`, `proxy_header` and `sendfile` options were added.
|
* *2.6*: The `chunked`, `http10_keepalive`, `proxy_header` and `sendfile` options were added.
|
||||||
|
|
|
@ -44,6 +44,7 @@ opts() :: #{
|
||||||
max_stream_window_size => 0..16#7fffffff,
|
max_stream_window_size => 0..16#7fffffff,
|
||||||
preface_timeout => timeout(),
|
preface_timeout => timeout(),
|
||||||
proxy_header => boolean(),
|
proxy_header => boolean(),
|
||||||
|
reset_idle_timeout_on_send => boolean(),
|
||||||
sendfile => boolean(),
|
sendfile => boolean(),
|
||||||
settings_timeout => timeout(),
|
settings_timeout => timeout(),
|
||||||
stream_handlers => [module()],
|
stream_handlers => [module()],
|
||||||
|
@ -235,6 +236,11 @@ Whether incoming connections have a PROXY protocol header. The
|
||||||
proxy information will be passed forward via the `proxy_header`
|
proxy information will be passed forward via the `proxy_header`
|
||||||
key of the Req object.
|
key of the Req object.
|
||||||
|
|
||||||
|
reset_idle_timeout_on_send (false)::
|
||||||
|
|
||||||
|
Whether the `idle_timeout` gets reset when sending data
|
||||||
|
to the socket.
|
||||||
|
|
||||||
sendfile (true)::
|
sendfile (true)::
|
||||||
|
|
||||||
Whether the sendfile syscall may be used. It can be useful to disable
|
Whether the sendfile syscall may be used. It can be useful to disable
|
||||||
|
@ -271,6 +277,7 @@ too many `WINDOW_UPDATE` frames.
|
||||||
|
|
||||||
== Changelog
|
== Changelog
|
||||||
|
|
||||||
|
* *2.11*: The `reset_idle_timeout_on_send` option was added.
|
||||||
* *2.11*: Add the option `max_cancel_stream_rate` to protect
|
* *2.11*: Add the option `max_cancel_stream_rate` to protect
|
||||||
against another flood scenario.
|
against another flood scenario.
|
||||||
* *2.9*: The `goaway_initial_timeout` and `goaway_complete_timeout`
|
* *2.9*: The `goaway_initial_timeout` and `goaway_complete_timeout`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue