commit | fdc7ee21739bfbdc2585dd3977d4ab3cb9a7df14 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Mar 19 23:52:28 2020 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Thu Mar 19 23:56:08 2020 +0100 |
tree | c6d2cc9100e83501858f040d0a7f48119e0fb784 | |
parent | b3397367dc7cec9e78c62c54efc24d9db5cde2d2 [diff] |
BUG/MEDIUM: connections: Don't forget to decrement idle connection counters. In conn_backend_get(), when we manage to get an idle connection from the current thread's pool, don't forget to decrement the idle connection counters, or we may end up not reusing connections when we could, and/or killing connections when we shouldn't.