]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: channel/stconn: Move rex/wex timer from the channel to the sedesc
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Feb 2023 15:06:14 +0000 (16:06 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Feb 2023 13:52:15 +0000 (14:52 +0100)
commitf8413cba2a3e824747b9ef3ea3b65a07b03b0292
treef202b7e7addf9972465b76f050b531ace1a5e2cf
parented7e66fe1a316c5344e10da9d3433ad67d2ce866
MEDIUM: channel/stconn: Move rex/wex timer from the channel to the sedesc

These timers are related to the I/O. Thus it is logical to move them into
the SE descriptor. The patch is a bit huge but it is just a
replacement. However it is error-prone.

From the stconn or the stream, helper functions are used to get, set or
reset these timers. This simplify the timers manipulations.
12 files changed:
include/haproxy/channel-t.h
include/haproxy/channel.h
include/haproxy/stconn-t.h
include/haproxy/stconn.h
src/cli.c
src/debug.c
src/dns.c
src/hlua.c
src/http_ana.c
src/sink.c
src/stconn.c
src/stream.c