]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: Be really able to keep "pool-max-conn" idle connections
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Jul 2019 12:06:33 +0000 (14:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Jul 2019 12:20:52 +0000 (14:20 +0200)
commit34ce7d075ae3d5d5c876de4ad76bdf0e358772df
treef9cf50e963fecc1a193da42dc9fd65ee71dc81ac
parent1dad3843dcbaa4d66ca2fc4abb9abbff59b8494a
BUG/MINOR: server: Be really able to keep "pool-max-conn" idle connections

The maximum number of idle connections for a server can be configured by setting
the server option "pool-max-conn". But when we try to add a connection in its
idle list, because of a wrong comparison, it may be rejected because there are
already "pool-max-conn - 1" idle connections.

This patch must be backported to 2.0 and 1.9.
include/proto/server.h