]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: explain HTTP2 timeout behavior
authorLukas Tribus <lukas@ltri.eu>
Fri, 24 Nov 2017 18:05:12 +0000 (19:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Nov 2017 18:33:27 +0000 (19:33 +0100)
Clarifies that in HTTP2 we don't consider "timeout http-keep-alive", but
"timeout client" instead.

doc/configuration.txt

index e756d41e344640f97779c130fe13bdd4c1d97e62..c1b6d74ddb093998e587bfc64d79d42e6c80293b 100644 (file)
@@ -9855,6 +9855,8 @@ timeout clitimeout <timeout> (deprecated)
   during startup because it may results in accumulation of expired sessions in
   the system if the system's timeouts are not configured either.
 
+  This also applies to HTTP2 connections, which will be closed with GOAWAY.
+
   This parameter replaces the old, deprecated "clitimeout". It is recommended
   to use it to write new configurations. The form "timeout clitimeout" is
   provided only by backwards compatibility but its use is strongly discouraged.
@@ -9960,6 +9962,10 @@ timeout http-keep-alive <timeout>
   set in the frontend to take effect, unless the frontend is in TCP mode, in
   which case the HTTP backend's timeout will be used.
 
+  When using HTTP2 "timeout client" is applied instead. This is so we can keep
+  using short keep-alive timeouts in HTTP/1.1 while using longer ones in HTTP2
+  (where we only have one connection per client and a connection setup).
+
   See also : "timeout http-request", "timeout client".