MINOR: connection: don't check for CO_FL_SOCK_WR_SH too early in handshakes
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Jan 2020 17:08:45 +0000 (18:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Jan 2020 18:01:37 +0000 (19:01 +0100)
commit49139cb9149c36ab7e5e13c2e3048d6590e3bca3
tree1d7dcf7510bb6214949ca56cb76ada1e293cebb3
parentd838fb840c3752630f5ddaaf8ef805b8e310f102
MINOR: connection: don't check for CO_FL_SOCK_WR_SH too early in handshakes

Just like with CO_FL_SOCK_RD_SH, we don't need to check for this flag too
early because conn_sock_send() already does it. No error was lost so it
was harmless, it was only useless code.
src/connection.c
src/stream_interface.c