]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet/stconn: Add a SE flag to specify an endpoint does not expect data
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Feb 2023 13:22:56 +0000 (14:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Feb 2023 14:56:28 +0000 (15:56 +0100)
commit2ca4cc1936c16db030f3cb66eaa628518984edb8
treec1ba94c81f46c0b7cc569521062a8ca1f1b471a4
parent4c13568b49e60ab3ae3144ba94c6a450db9183bd
MINOR: applet/stconn: Add a SE flag to specify an endpoint does not expect data

An endpoint should now set SE_FL_EXP_NO_DATA flag if it does not expect any
data from the opposite endpoint. This way, the stream will be able to
disable any read timeout on the opposite endpoint. Applets should use
applet_expect_no_data() and applet_expect_data() functions to set or clear
the flag. For now, only dns and sink forwarder applets are concerned.
include/haproxy/applet.h
include/haproxy/stconn-t.h
src/dns.c
src/sink.c