Turn off all timeouts


#1

Is there a way to turn off all timeouts, or set them to be infinite? I have a setup where the traffic is low, but connections can be very long lived. While working on reducing those long lived connections, I’d rather haproxy not timeout anything.

Thanks!


#2

Hi,

Simply don’t set them and they’ll be turned to 0.
That said, I strongly not doing this. You could be DDOSed quickly and easily.
You may want at least to setup client and server side tcp-ut, to let HAProxy and your kernel know when there is definitively nobody at the other side of the connection.