]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sink: Set default connect/server timeout for implicit ring buffers
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 24 Oct 2022 13:53:01 +0000 (15:53 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 24 Oct 2022 14:00:49 +0000 (16:00 +0200)
commitd08a25b1f125eaf79475d8e42f2eb51683bf91a0
tree56bac2b5ce379aa84f41cf87792b0809a249a61d
parent11a707ae52b28a8bd94cff734b088a5bddcc820c
BUG/MINOR: sink: Set default connect/server timeout for implicit ring buffers

Ring buffers may be implicitly created from log declarations when "tcp@",
"tcp6@", "tcp4@" or "uxst@" prefixes are used. These ring buffers rely on
unconfigurable proxies. While connect and server timeouts should be defined for
explicit ring buffers, it is no possible for implicit ones. However, a default
value must be set and TICK_ETERNITY is not an acceptable one.

Thus, now "1s" is set for the connect timeout and "5s" is set for server one.

This patch may be backported as far as 2.4.
src/sink.c