]> git.kaiwu.me - haproxy.git/commitdiff
MINOR: servers: The right parameter for idle-pool.shared is "full"
authorOlivier Houchard <cognet@ci0.org>
Fri, 3 Apr 2026 13:45:26 +0000 (15:45 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 3 Apr 2026 13:45:26 +0000 (15:45 +0200)
In documentation, and in an error message, provide the right new keyword for
"idle-pool.shared", it is "full", not "auto".

doc/configuration.txt
src/server.c

index a895caaaef5ee4aac5d86bcfd8734f8ff872cd92..73fc3d6922f9e824dbce2aca8731372ade7ff594 100644 (file)
@@ -4649,7 +4649,7 @@ tune.http.maxhdr <number>
   protocols. This limit is large enough but not documented on purpose. The same
   limit is applied on the first steps of the decoding for the same reason.
 
-tune.idle-pool.shared { auto | on | off }
+tune.idle-pool.shared { full | on | off }
   Controls sharing idle connection pools between threads for a same server.
   It can be enabled for all threads in a same thread group ('on'), enabled for
   all threads ('full') or disabled ('off'). The default is to share them
index c14ac0724e6e05841f86092fd4e4d2796b71de77..f0bd91c7faebb41a6f41d51223451fdc7f4632ce 100644 (file)
@@ -7654,7 +7654,7 @@ static int cfg_parse_idle_pool_shared(char **args, int section_type, struct prox
                global.tune.options &= ~GTUNE_IDLE_POOL_SHARED;
                global.tune.tg_takeover = NO_THREADGROUP_TAKEOVER;
        } else {
-               memprintf(err, "'%s' expects 'auto', 'on' or 'off' but got '%s'.", args[0], args[1]);
+               memprintf(err, "'%s' expects 'full', 'on' or 'off' but got '%s'.", args[0], args[1]);
                return -1;
        }
        return 0;