]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: spoe: Only skip sending new frame after a receive attempt
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Jun 2023 06:15:59 +0000 (08:15 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Jun 2023 06:24:34 +0000 (08:24 +0200)
commitbc9fb646236634a26d4f3cffe64fa91f213d8eed
tree42db005fd7fe23b968228bbe547b5ce9a998caba
parent64d0ed515b10068dc21ac954fd2868d7f5d0e820
BUG/MINOR: spoe: Only skip sending new frame after a receive attempt

When a SPOE appctx is processing frames in sync mode, we must only skip
sending a new frame if it is still waiting for a ACK frame after a receive
attempt. It was performed before the receive attempt. As a consequence, if
the ACK frame was received, the SPOE appctx did not try to process queued
messages immediately. This could increase the queue time and thus slow down
the processing time of the stream.

Thanks to Daniel Epperson for his help to diagnose the bug.

This patch must be backported to every stable versions.
src/flt_spoe.c