]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux_h1: Set H1_F_CO_MSG_MORE if we know we have more to send.
authorOlivier Houchard <cognet@ci0.org>
Fri, 19 Jun 2020 14:15:05 +0000 (16:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Jun 2020 15:42:42 +0000 (17:42 +0200)
commitc89a42feba4ff50b5b8c2decfa6c05fc492276ad
treee14a5bbe5181e5d8cd9145f6a8905ca7e4a2c799
parent8945bb6c05e83e008f05cf70a9f740a8bb26d7e5
MINOR: mux_h1: Set H1_F_CO_MSG_MORE if we know we have more to send.

In h1_snd_buf(), also set H1_F_CO_MSG_MORE if we know we still have more to
send, not just if the stream-interface told us to do so. This may happen if
the last block of a transfer doesn't fit in the buffer, it remains useful
for the transport layer to know that more data follows what's already in
the buffer.
src/mux_h1.c