HAProxy – how to setup timeout for connection with no request?

I have a public facing server that uses HA Proxy as front end. I use TCP mode. I want to set it up such that if the client established connection (completed 3-way handshake) but does not send any payload within certain amount of time, the connection will timeout quickly. But if the client has sent at least some payload, connection will timeout normally.

I looked at the various timeout options offered by HAProxy but I cannot seem to find one that matches my need?

Answer

Attribution
Source : Link , Question Author : some user , Answer Author : Community

Leave a Comment