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.

(cherry picked from commit d08a25b1f125eaf79475d8e42f2eb51683bf91a0)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit a7456b2d145de05d6d6983c936ef72fd41e87eb6)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit f5055ad7d3d7005b84dc532a1521264e78cea3c8)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed