BUG/MINOR: checks: make __event_chk_srv_r() report success before closing

On a plain TCP check, this function will do nothing except shutting the
connection down and will not even update the status. This prevents it
from being called again, which is the reason why we attempt to do it
once too early. Let's first fix this function to make it report success
on plain TCP checks before closing, as it does for all other ones.

This must be backported to 2.0. It should be safe to backport to older
versions but it doesn't seem it would fix anything there.

(cherry picked from commit 4c1a2b30a3c32df9e8fc7e8002d3390460816861)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed