]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] stream_sock: enable MSG_MORE when forwarding finite amount of data
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 10:18:34 +0000 (11:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 10:18:34 +0000 (11:18 +0100)
commitd38b53b896aa5e6682cbd68ecf8df78a11169f02
tree00ac4704bedfabfc30c80af4e9c84f539afd2a95
parent638cd02e9d439e7092af1cd2d0d1285257878f96
[MINOR] stream_sock: enable MSG_MORE when forwarding finite amount of data

While it could be dangerous to enable MSG_MORE on infinite data (eg:
interactive sessions), it makes sense to enable it when we know the
chunk to be sent is just a part of a larger one.
src/stream_sock.c