MINOR: mailers: increase default timeout to 10 seconds
authorPieter Baauw <piba.nl.dev@gmail.com>
Fri, 12 Feb 2016 13:35:20 +0000 (14:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Feb 2016 09:19:08 +0000 (10:19 +0100)
commit46af170e41d534d7d8b90b50667879d741359d95
treea101bafa8f7704beafea16ff1dc0174bbd11010a
parent7a91a0e1e52552b0c90506b9e5da1eceb9f23a38
MINOR: mailers: increase default timeout to 10 seconds

This allows the tcp connection to send multiple SYN packets, so 1 lost
packet does not cause the mail to be lost. It changes the socket timeout
from 2 to 10 seconds, this allows for 3 syn packets to be send and
waiting a little for their reply.

This patch should be backported to 1.6.

Acked-by: Simon Horman <horms@verge.net.au>
include/common/defaults.h
src/checks.c