]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: remove checks for CO_FL_HANDSHAKE before I/O
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Jan 2020 16:30:42 +0000 (17:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Jan 2020 16:30:42 +0000 (17:30 +0100)
commit6d015724ec0179765cb1b13c4c7ef14f6dc5b2e7
tree9f5bd9a8ad730e7049d7661a517ada5eb67e278e
parent911db9bd295a0a63652feaf64d1f4cce1325f9d1
MINOR: connection: remove checks for CO_FL_HANDSHAKE before I/O

There are still leftovers from the pre-xprt_handshake era with lots
of places where I/O callbacks refrain from receiving/sending if they
see that a handshake is present. This needlessly duplicates the
subscribe calls as it will automatically be done by the underlying
xprt_handshake code when attempting the operation.

The only reason for still checking CO_FL_HANDSHAKE is when we decide
to instantiate xprt_handshake. This patch removes all other ones.
src/checks.c
src/mux_pt.c