]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: correctly configure the client timeout
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Mar 2015 15:18:25 +0000 (16:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Mar 2015 15:21:28 +0000 (16:21 +0100)
commit9ff95bb18c4cd9ae747fa5b3bef6d3f94e54172f
tree08cbc974ca3876a8bd4a5cd4c5682f890469c21e
parent94aa6170cdc7d73ae1bed5e59776f93427488034
BUG/MEDIUM: peers: correctly configure the client timeout

The peers frontend timeout was mistakenly set on timeout.connect instead
of timeout.client, resulting in no timeout being applied to the peers
connections. The impact is just that peers can establish connections and
remain connected until they speak. Once they start speaking, only one of
them will still be accepted, and old sessions will be killed, so the
problem is limited. This fix should however be backported to 1.5 since
it was introduced in 1.5-dev3 with peers.
src/cfgparse.c