]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: srv: do not cleanup idle conns if pool max is null
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 6 Jan 2021 13:28:51 +0000 (14:28 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Jan 2021 15:57:17 +0000 (16:57 +0100)
commit10d5c3172b366e48b5851a20de9b68f0d5495b92
tree0784b8d611780c28ba4cffb392f3b1c55b4768a9
parente3c419296211f08209300b9a06dc17467a6cb315
BUG/MINOR: srv: do not cleanup idle conns if pool max is null

If a server is configured to not have any idle conns, returns immediatly
from srv_cleanup_connections. This avoids a segfault when a server is
configured with pool-max-conn to 0.

This should be backported up to 2.2.
src/server.c