commit | 14fcc2ebcc4bae13b35db497a4b147dd0f85b8e5 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed Jun 05 13:55:01 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Jun 05 13:58:06 2019 +0200 |
tree | b855b2b432798b233bd24f5e3c2ff0be5be2e3e1 | |
parent | 344e94816c961713e9a272fb425edae8f4c95656 [diff] |
BUG/MEDIUM: servers: Don't attempt to destroy idle connections if disabled. In connect_server(), when deciding if we should attempt to remove idle connections, because we have to many file descriptors opened, don't attempt to do so if idle connection pool is disabled (with pool-max-conn 0), as if it is, srv->idle_orphan_conns won't even be allocated, and trying to dereference it will cause a crash.