]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stconn: Set half-close timeout using proxy settings
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Feb 2023 07:36:53 +0000 (08:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Feb 2023 14:59:16 +0000 (15:59 +0100)
commitbcdcfad3ff58bab002f99c85c2c9d82ab88770a7
tree9d9a76dbe351efd695df11d900ddb16907b5fb89
parent15315d6c0aadd41362ee8c4d2d3013c25b37774d
MINOR: stconn: Set half-close timeout using proxy settings

We now directly use the proxy settings to set the half-close timeout of a
stream-connector. The function sc_set_hcto() must be used to do so. This
timeout is only set when a shutw is performed. So it is not really a big
deal to use a dedicated function to do so.
include/haproxy/sc_strm.h
src/stconn.c