diff --git a/doc/api/http.md b/doc/api/http.md index 928ed0d972b472..a4ed90269d61d3 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -911,7 +911,7 @@ added: v0.9.12 The number of milliseconds of inactivity before a socket is presumed to have timed out. -A value of 0 will disable the timeout behavior on incoming connections. +A value of `0` will disable the timeout behavior on incoming connections. *Note*: The socket timeout logic is set up on connection, so changing this value only affects new connections to the server, not any existing connections. @@ -929,7 +929,9 @@ will be destroyed. If the server receives new data before the keep-alive timeout has fired, it will reset the regular inactivity timeout, i.e., [`server.timeout`][]. -A value of 0 will disable the keep-alive timeout behavior on incoming connections. +A value of `0` will disable the keep-alive timeout behavior on incoming connections. +A value of `0` makes the http server behave similarly to Node.js versions prior to 8.0.0, +which did not have a keep-alive timeout. *Note*: The socket timeout logic is set up on connection, so changing this value only affects new connections to the server, not any existing connections.