]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: stream: Use SE descriptor date to detect read/write timeouts
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 16 Feb 2023 10:18:15 +0000 (11:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Feb 2023 14:57:16 +0000 (15:57 +0100)
commitb374ba563ae3195f34b32d76ec4d5df2bb1ea2c0
treedd65f4c20f0b23f2221a211488f2f00f71e93a0d
parent2ca4cc1936c16db030f3cb66eaa628518984edb8
MAJOR: stream: Use SE descriptor date to detect read/write timeouts

We stop to use the channel's expiration dates to detect read and write
timeouts on the channels. We now rely on the stream-endpoint descriptor to
do so. All the stuff is handled in process_stream().

The stream relies on 2 helper functions to know if the receives or sends may
expire: sc_rcv_may_expire() and sc_snd_may_expire().
include/haproxy/channel.h
include/haproxy/sc_strm.h
src/stream.c