]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stconn: Report a send activity everytime data were sent
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 10 Oct 2023 16:07:29 +0000 (18:07 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Oct 2023 08:35:32 +0000 (10:35 +0200)
commit3083fd90e1349692f9255303520a7383aa6012e7
tree5e097c797c272c517384bc33b4892e6674562856
parent94d0f77debdcb4d2e17da254a2b27135a774e3f4
BUG/MEDIUM: stconn: Report a send activity everytime data were sent

When read/write timeouts were refactored in 2.8, we decided to change when a
send activity had to be reported. Before, everytime some data were sent a
send activity were reported. At this time, the channel's wex timer were
updated. During the refactoring, we decided to limit send activity to sends
that ampty te channel's buffer, consuming all outgoing data. Idea behind
this change was to protect haproxy against clients consumming data very
slowly.

However, it is too strict. Some congested muxes but still active can hit the
client or the server timeout. It seems a bit unfair. It is especially
visible with QUIC/H3 but it is probably also possible with H2 if the window
size is small.

The better is to restore the old behavior.

This patch must be backported to 2.8.
src/stconn.c