]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream-int: Don't set MSG_MORE flag if no more data are expected
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Jul 2020 14:28:44 +0000 (16:28 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Jul 2020 14:43:32 +0000 (16:43 +0200)
commit9e3dc8305bb96a3a745caf4111f6849bce45a914
tree006240ca2092d8974a4c7be63956f9531177c209
parent810df0614579a32da46ec8f924654342bdb88b77
BUG/MEDIUM: stream-int: Don't set MSG_MORE flag if no more data are expected

In HTX, if the HTX_FL_EOI message is set on the message, we don't set the
CO_SFL_MSG_MORE flag on the connection. This way, the send is not delayed if
only the EOM is missing in the HTX message.

This patch depends on the commit "MEDIUM: htx: Add a flag on a HTX message when
no more data are expected".

This patch should partially fix the issue #756. It must be backported to
2.1. For earlier versions, CO_SFL_MSG_MORE is ignored by HTX muxes.
src/stream_interface.c