commit | 4ba494ca1bee297dde82f0fde546621bb5e1ce30 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Sun Jun 28 16:14:09 2020 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Sun Jun 28 16:16:13 2020 +0200 |
tree | 723936342e0a3361ba9bfae5dc304c2fdbd20612 | |
parent | fc402cf3bc43da1aa9bccdb1d090186962d33745 [diff] |
BUG/MEDIUM: connections: Don't increase curr_used_conns for shared connections. In connect_server(), we want to increase curr_used_conns only if the connection is new, or if it comes from an idle_pool, otherwise it means the connection is already used by at least one another stream, and it is already accounted for.