aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2025-02-07 17:02:07 +0100
committerLoïc Hoguin <[email protected]>2025-02-07 17:59:44 +0100
commitcc97c770fbe6484b56e661021c4350163349a740 (patch)
tree58381c4d6cec45255bab4d8b5078e51fb32ec82f
parentdad67e19a1b07a7891aee7f87462e55ec08c5929 (diff)
downloadcowboy-cc97c770fbe6484b56e661021c4350163349a740.tar.gz
cowboy-cc97c770fbe6484b56e661021c4350163349a740.tar.bz2
cowboy-cc97c770fbe6484b56e661021c4350163349a740.zip
Deprecate the inactivity_timeout options
When idle_timeout is configured we do not need a separate timer to detect inactivity. Disabling idle_timeout is not recommended and should not be necessary.
-rw-r--r--doc/src/manual/cowboy_http.asciidoc3
-rw-r--r--doc/src/manual/cowboy_http2.asciidoc3
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/manual/cowboy_http.asciidoc b/doc/src/manual/cowboy_http.asciidoc
index 0640aa9..aff9f1b 100644
--- a/doc/src/manual/cowboy_http.asciidoc
+++ b/doc/src/manual/cowboy_http.asciidoc
@@ -105,7 +105,7 @@ This option can be updated at any time using the
inactivity_timeout (300000)::
-Time in ms with nothing received at all before Cowboy closes the connection.
+**DEPRECATED** Time in ms with nothing received at all before Cowboy closes the connection.
initial_stream_flow_size (65535)::
@@ -183,6 +183,7 @@ Ordered list of stream handlers that will handle all stream events.
== Changelog
+* *2.13*: The `inactivity_timeout` option was deprecated.
* *2.13*: The `active_n` default value was changed to `1`.
* *2.13*: The `dynamic_buffer` and `hibernate` options were added.
* *2.11*: The `reset_idle_timeout_on_send` option was added.
diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc
index 0dcfe2c..971dcb8 100644
--- a/doc/src/manual/cowboy_http2.asciidoc
+++ b/doc/src/manual/cowboy_http2.asciidoc
@@ -133,7 +133,7 @@ Time in ms with no data received before Cowboy closes the connection.
inactivity_timeout (300000)::
-Time in ms with nothing received at all before Cowboy closes the connection.
+**DEPRECATED** Time in ms with nothing received at all before Cowboy closes the connection.
initial_connection_window_size (65535)::
@@ -306,6 +306,7 @@ too many `WINDOW_UPDATE` frames.
== Changelog
+* *2.13*: The `inactivity_timeout` option was deprecated.
* *2.13*: The `active_n` default value was changed to `1`.
* *2.13*: The `dynamic_buffer` and `hibernate` options were added.
* *2.11*: Websocket over HTTP/2 is now considered stable.