MINOR: stream-int: stop checking for useless connection flags in chk_snd_conn
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 12:22:28 +0000 (14:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 12:24:48 +0000 (14:24 +0200)
commit3b9c850271589751540b7eb0d9ae8816c38875c0
treed3a8c40e4dfc9a4e5238e65a58489c0401afaf01
parent3f957b2f83b876f5f5282c2affc3bebc5aaa54c2
MINOR: stream-int: stop checking for useless connection flags in chk_snd_conn

We've been keep this test for a connection being established since 1.5-dev14
when the stream-interface was still accessing the FD directly. The test on
CO_FL_HANDSHAKE and L{4,6}_CONN is totally useless here, and can even be
counter-productive on pure TCP where it could prevent a request from being
sent on a connection still attempting to complete its establishment. And it
creates an abnormal dependency between the layers that will complicate the
implementation of the mux, so let's get rid of it now.
src/stream_interface.c