Here's the the stripped-down configuration. Http-server-close is required in order to use leastconn. The frontend actually contains various acl rules, thus mode http.
Thank you! Dieter defaults option abortonclose balance leastconn backend apache mode http server A 10.10.10.2:80 server B 10.10.10.3:80 frontend www mode http bind 10.10.10.1:80 option http-server-close default_backend apache Originalnachricht Von: Pavlos Parissis Gesendet: Donnerstag, 9. April 2015 14:24 An: Dieter van Zeder; HAProxy Betreff: Re: AW: forward client disconnects in http mode On 09/04/2015 02:11 μμ, Dieter van Zeder wrote: > It's not about idle connections, it's about connections closed by the client > before the server fully sent the response. I have an apache module which can > detect client disconnects and then stops processing. Having haproxy before > those servers, a process keeps running, even though the client has > disconnected (by sending FIN,ACK?). I wonder if haproxy can forward it, even > in http mode. > Can u share your conf? Pavlos

