0
Fork 0
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:
Loïc Hoguin 2019-10-07 12:04:39 +02:00
parent e25fb19bab
commit fad0ac8fb6
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
4 changed files with 32 additions and 1 deletions

View file

@ -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)::