]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: Add connect and server timeut to peers proxy
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 29 Aug 2022 09:32:26 +0000 (11:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 29 Aug 2022 09:38:02 +0000 (11:38 +0200)
commit13db4bdbc6e60bb54f7583ca76e7d71c97cca96a
treeab240e056b11c0f8017d1a11733f31be384b6ff2
parent42a0662910816172469085cf739c1ff65871fdde
BUG/MEDIUM: peers: Add connect and server timeut to peers proxy

Only the client timeout was set. Nothing prevent a peer applet to stall
during a connect or waiting a message from a remote peer. To avoid any
issue, it is important to also set connection and server timeouts. The
connect timeout is set to 1s and the server timeout is set to 5s.

This patch must be backported to all supported versions.
src/peers.c