commit | c0a2acea5eb077b7a08b80e5ae277172992285ff | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Jan 06 14:28:51 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jan 06 17:24:32 2021 +0100 |
tree | 9d27ce0745888432819535337121ebc4b14be203 | |
parent | 96a4ff137c88294b1d12bcb0d76f18bc1f2b41a6 [diff] |
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. (cherry picked from commit 10d5c3172b366e48b5851a20de9b68f0d5495b92) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>