]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ring: Properly parse connect timeout
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 19 Oct 2022 14:26:21 +0000 (16:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 20 Oct 2022 07:03:19 +0000 (09:03 +0200)
commit321d100cc8f86e5713fa7325acb30ef0e962d900
tree92442a154a7d15eeb548d84dae839bb4c40c947a
parentcc640e851aa22e9ba7c4b5155d099457d1e3989f
BUG/MINOR: ring: Properly parse connect timeout

The connect timeout in a ring section was not properly parsed. Thus, it was
never set and the server timeout may be overwritten, depending on the
directives order. The first char of the keyword must be tested, not the
third one.

This patch is related to the issue #1900. But it does not fix the issue. It
must be backported as far as 2.4.
src/sink.c