]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Mark the output buffer as full when the xfer is interrupted
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Oct 2019 12:17:00 +0000 (14:17 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Oct 2019 20:09:33 +0000 (22:09 +0200)
commita61aa544b4b95d1416fe5684ca2d3a0e110e9743
treeb8b8d76b46beced8cbc307eb2e5a6770ccc4ae55
parent48fa033f2809af265c230a7c7cf86413b7f9909b
BUG/MINOR: mux-h1: Mark the output buffer as full when the xfer is interrupted

When an outgoing HTX message is formatted to a raw message, if we fail to copy
data of an HTX block into the output buffer, we mark it as full. Before it was
only done calling the function buf_room_for_htx_data(). But this function is
designed to optimize input processing.

This patch must be backported to 2.0 and 1.9.
src/mux_h1.c