]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stconn: Report a send activity when endpoint is willing to consume data
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Feb 2023 15:32:30 +0000 (16:32 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Feb 2023 16:45:45 +0000 (17:45 +0100)
commit8aabc8ebfd4514c3b3290ac2ddf6a2281e01dadb
tree56c31c034e26670bdf0780aea1d1ceba09acd9be
parente758b5c703d9d18cf3cec83aec9d6cb36bead157
MINOR: stconn: Report a send activity when endpoint is willing to consume data

When the endpoint (applet or mux) is now willing to consume data while it
said it wouldn't, a send activity is reported. Indeed, the writes was
blocked because of the endpoint. It is now ready to consume outgoing
data. So an send activity must be reported to reset corresponding timers.

Concretly, when the flag SE_FL_WONT_CONSULE is removed, a send activity is
reported.
include/haproxy/applet.h
include/haproxy/stconn.h