]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] stream_sock: remove unneeded FL_TCP and factor out test
authorWilly Tarreau <w@1wt.eu>
Mon, 30 May 2011 15:32:53 +0000 (17:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 May 2011 16:42:40 +0000 (18:42 +0200)
commitf8ca19bcd99fe3b915007763df7b45045157471c
tree3d38cdb9a5f9f37554abec80f864e07f9c50f86f
parent8f8b4922957548b6e32a996f51b3e58378d39f16
[CLEANUP] stream_sock: remove unneeded FL_TCP and factor out test

The FL_TCP flag was a leftover from the old days we were using TCP_CORK.
With MSG_MORE it's not needed anymore so we can remove the condition and
sensibly simplify the test.
src/stream_sock.c