mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Document the set_options stream handler command
This commit is contained in:
parent
e25fb19bab
commit
fad0ac8fb6
4 changed files with 32 additions and 1 deletions
|
@ -56,6 +56,9 @@ Whether chunked transfer-encoding is enabled for HTTP/1.1 connections.
|
|||
Note that a response streamed to the client without the chunked
|
||||
transfer-encoding and without a content-length header will result
|
||||
in the connection being closed at the end of the response body.
|
||||
+
|
||||
This option can be updated at any time using the
|
||||
`set_options` stream handler command.
|
||||
|
||||
connection_type (supervisor)::
|
||||
|
||||
|
@ -68,6 +71,9 @@ Whether keep-alive is enabled for HTTP/1.0 connections.
|
|||
idle_timeout (60000)::
|
||||
|
||||
Time in ms with no data received before Cowboy closes the connection.
|
||||
+
|
||||
This option can be updated at any time using the
|
||||
`set_options` stream handler command.
|
||||
|
||||
inactivity_timeout (300000)::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue