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.

(cherry picked from commit 13db4bdbc6e60bb54f7583ca76e7d71c97cca96a)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit a34887921af01da8aaa1e99812327402a4d2851b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 36ce96f87dc54d21564302e28fc48f4dd0ed2e17)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed