MINOR: checks: use cs_drain_and_close() instead of draining the connection
authorWilly Tarreau <w@1wt.eu>
Fri, 11 Dec 2020 10:09:29 +0000 (11:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Dec 2020 10:09:29 +0000 (11:09 +0100)
commit30bd4efb1b1f98925350b6a8cc43855959df7e1f
treeb5154052e8be58df3f7578705709ac4c5f455dfc
parent7d7b11cf9317acab65ea3a3ae7f24eed1c0fb02a
MINOR: checks: use cs_drain_and_close() instead of draining the connection

As explained in previous commit, the situation is absurd as we try to
cleanly drain pending data before impolitely shutting down, and it could
be counter productive on real muxes. Let's use cs_drain_and_close() instead.
src/check.c