]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream-int: don't set MSG_MORE on closed request path
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 14:07:25 +0000 (15:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 14:07:25 +0000 (15:07 +0100)
commitecd2e15919f31df2c0e42b3a1ac74f1344d9a2ae
treea202b4d974caf010b3783e8fb5334c6032c63cf0
parent11f5886e5c177de9f77ff11c5848b19a4a8c6e37
BUG/MINOR: stream-int: don't set MSG_MORE on closed request path

Commit 4ac4928 ("BUG/MINOR: stream-int: don't set MSG_MORE on SHUTW_NOW
without AUTO_CLOSE") was incomplete. H2 reveals another situation where
the input stream is marked closed with the request and we set MSG_MORE,
causing a delay before the request leaves.

Better avoid setting the flag on the request path for close cases in
general.
src/stream_interface.c