]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: rhttp: fix reconnect if timeout connect unset
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 10 Apr 2025 16:05:55 +0000 (18:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 17 Apr 2025 12:49:36 +0000 (14:49 +0200)
commit2b8da5f9ab8639f4213ee21fc5fd5ca12c53cddb
tree41532fcd4075e5878e87534b3b95c4cd27639134
parent3ebdd3ae509236af1f19d80cab98b385a751426b
BUG/MINOR: rhttp: fix reconnect if timeout connect unset

Active connect on reverse http relies on connect timeout to detect
connection failure. Thus, if this timeout was unset, connection failure
may not be properly detected.

Fix this by fallback on hardcoded value of 1s for connect if timeout is
unset in the configuration. This is considered as a minor bug, as
haproxy advises against running with timeout unset.

This must be backported up to 2.9.
src/proto_rhttp.c