BUG/MEDIUM: checks: Increment the server's curr_used_conns
authorOlivier Houchard <cognet@ci0.org>
Sun, 28 Jun 2020 14:23:09 +0000 (16:23 +0200)
committerOlivier Houchard <cognet@ci0.org>
Sun, 28 Jun 2020 14:23:09 +0000 (16:23 +0200)
commitdb6fe694b3ed7c7683d610ecf58449949cd1782e
tree22b45486fe257569ba3c692dc698a333ae9d8c83
parent4ba494ca1bee297dde82f0fde546621bb5e1ce30
BUG/MEDIUM: checks: Increment the server's curr_used_conns

In tcpcheck_eval_connect(), if we're targetting a server, increase its
curr_used_conns when creating a new connection, as the counter will be
decreased later when the connection is destroyed and conn_free() is called.
src/tcpcheck.c