]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: check for send_proxy during the connect(), not the SI
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2013 19:45:00 +0000 (21:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:23 +0000 (15:40 +0100)
commit1ec74bf660f48f57e308bef4b5df4c8507dffcb9
tree2420f92fc883913cc5347a0b877c0daf062160c6
parentb8020cefed5d87db7df12c89bb4be6b39d756abd
MINOR: connection: check for send_proxy during the connect(), not the SI

It's cleaner to check for a pending send_proxy_ofs while establishing
the connection (which already checks it anyway) and not in the stream
interface.
include/proto/stream_interface.h
src/proto_tcp.c