Hi Lukas, Thank you for your suggestion. It works! I guess this is a shortcoming of streaming and eventsource protocols, because there are two separate connections involved for each client, whereas for websocket and long-polling haproxy can tell for sure the connection breaks given there is only one connection.
I guess *option abortonclose* is also good to have in general, since it helps defend against DDoS attacks? And I do not see much side-effect for turning it on. Correct me if I'm wrong here. Thanks again! Regards, Chris On Sun, Jun 9, 2013 at 11:51 AM, Lukas Tribus <luky...@hotmail.com> wrote: > Hi Chris, > > you probably need to set the following option to achieve this behavior: > option abortonclose > > > > http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-option%20abortonclose > > > > Regards, > > Lukas