]> git.kaiwu.me - haproxy.git/commitdiff
DOC: config: fix the graceful close description of tune.h1.*.glitches-threshold
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 7 Oct 2026 16:14:03 +0000 (18:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 3 Dec 2026 12:41:06 +0000 (13:41 +0100)
The description of the graceful close performed at 75% of the H1 glitches
thresholds was copied from the H2 one and says that a GOAWAY is advertised,
which doesn't exist in HTTP/1. The H1 mux switches the connection to close
mode instead, so that it is closed at the end of the current transfer (with
a "Connection: close" header on the frontend side). Let's fix the
description.

This was introduced with commit 5904f8279 ("MINOR: mux-h1: perform a
graceful close at 75% glitches threshold") in 3.4-dev2, and should be
backported as far as 3.4.

doc/configuration.txt

index c5beca38fda1c34854d9d3f3b8150f5672810ea3..a3c10dc83292790c0b0cf6aba7acedbcc41297b6 100644 (file)
@@ -4810,9 +4810,9 @@ tune.h1.be.glitches-threshold <number>
   slightly bogus servers. It is also possible to only kill connections when the
   CPU usage crosses a certain level, by using "tune.glitches.kill.cpu-usage".
   Note that a graceful close is attempted at 75% of the configured threshold by
-  advertising a GOAWAY for a future stream. This ensures that a slightly faulty
-  connection will stop being used after some time without risking to interrupt
-  ongoing transfers.
+  switching the connection to close mode, so that it is closed at the end of
+  the current transfer. This ensures that a slightly faulty connection will stop
+  being used after some time without risking to interrupt ongoing transfers.
 
   See also: tune.h1.fe.glitches-threshold, bc_glitches, and
             tune.glitches.kill.cpu-usage
@@ -4829,10 +4829,11 @@ tune.h1.fe.glitches-threshold <number>
   slightly bogus clients. It is also possible to only kill connections when the
   CPU usage crosses a certain level, by using "tune.glitches.kill.cpu-usage".
   Note that a graceful close is attempted at 75% of the configured threshold by
-  advertising a GOAWAY for a future stream. This ensures that a slightly non-
-  compliant client will have the opportunity to create a new connection and
-  continue to work unaffected without ever triggering the hard close thus
-  risking to interrupt ongoing transfers.
+  switching the connection to close mode, so that the current response carries
+  a "Connection: close" header and the connection is closed after it. This
+  ensures that a slightly non-compliant client will have the opportunity to
+  create a new connection and continue to work unaffected without ever
+  triggering the hard close thus risking to interrupt ongoing transfers.
 
   See also: tune.h1.be.glitches-threshold, fc_glitches, and
             tune.glitches.kill.cpu-usage