]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connections: Add the CO_FL_CONNECTED flag if a send succeeded.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 17 Jan 2019 18:09:11 +0000 (19:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Jan 2019 18:18:20 +0000 (19:18 +0100)
commitf24502ba461d2dff1268aa73ce70a3400909d8d7
tree59e6ff937117f3896b608585cf8dacdd97c8d7ee
parent09a0f039947c6fe1469d5246fa31247e9edef1d6
BUG/MEDIUM: connections: Add the CO_FL_CONNECTED flag if a send succeeded.

If a send succeeded, add the CO_FL_CONNECTED flag, the send may have been
called by the upper layers before we even realized we were connected, and we
may even read the response before we get the information, and si_cs_recv()
has to know if we were connected or not.

This should be backported to 1.9.
src/raw_sock.c
src/ssl_sock.c