On Mon, May 7, 2012 at 10:42 PM, Willy Tarreau <[email protected]> wrote:
> Hi Baptiste,
>
> On Thu, May 03, 2012 at 09:50:39PM +0200, Baptiste wrote:
>> When using HAProxy with the option http-server-close or forceclose, haproxy
>> will close the TCP conection on either the server or both the client and
>> the server, after each request. Which is not compatible with websocket.
>
> I'm sorry to say it again but this is wrong. It *IS* compatible with WebSocket
> because haproxy switches to tunnel mode when it sees the WS handshake and it
> keeps the connection open for as long as there is traffic. So there is never
> any need to change the close options for websocket, it works out of the box
> where HTTP already works. If you find a situation where it fails, then it's
> a bug which must be fixed (and I'm not aware of any such).
>
> However, I agree with you for the rest of the explanations :-)
>
> Willy
>

Hi,

I guess it deserves an article on the blog :)

cheers

Reply via email to