Dear haproxy team,

Let me start off by sharing that I am a very happy haproxy user :)

Recently I was strugling a bit with timeouts on established connections to
a backend, and was looking for a way to lower this timeout for the outbound
haproxy connections. This is useful if a backend suddenly dissapears, for
example with a power or network failure.

It seems a patch was included in the Linux kernel a few years ago to make
this possible per connection instead of system wide, and it should be
included since kernel 2.6.37. The commit can be viewed here:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dca43c75e7e545694a9dd6288553f55c53e2a3a3

Would it be possible to add support for this socket option in haproxy? It
would allow to tune the established connection timeout per backend, instead
of only system wide as currently possible with the tcp_retries parameters.

Best regards,
Thijs Houtenbos

Reply via email to