Re: option web-socket-chk

2012-11-07 Thread Vladimir Dronnikov
Exhaustive explanation, thank you. On Wed, Nov 7, 2012 at 11:25 PM, Cyril Bonté wrote: > Hi all, > Le 07/11/2012 16:19, Baptiste a écrit : > > For those who are interested, here is an article on HAProxy and >> Websockets. >> (it includes the health check as well) >> > > And here is the link (y

Re: option web-socket-chk

2012-11-06 Thread Vladimir Dronnikov
\ upgrade\r\nUpgrade:\ > websocket > http-check expect rstatus 10[01] > > cheers > > > On Tue, Nov 6, 2012 at 11:28 AM, Vladimir Dronnikov > wrote: > > Hi! > > > > Wonder if there are plans to implement the subj to check WebSocket > servers > > availability? > > > > TIA, > > --Vladimir >

option web-socket-chk

2012-11-06 Thread Vladimir Dronnikov
Hi! Wonder if there are plans to implement the subj to check WebSocket servers availability? TIA, --Vladimir

Re: how to serve inline flash policy

2011-09-16 Thread Vladimir Dronnikov
i use defaults mode http Also started https://github.com/dvv/farm/blob/master/flash/acl.c -- grep for DVV tags to navigate to changes -- this may explain what i mean better

Re: how to serve inline flash policy

2011-09-16 Thread Vladimir Dronnikov
> since your request is not RFC compliant, HAProxy will drop it. > You may give a try with the "option accept-invalid-http-request" on > the frontend definition. Gave, with no success so far... :) Consider req_ssl_ver pattern -- it snoops into request buffer and finds the match. I need the same l

Re: how to serve inline flash policy

2011-09-16 Thread Vladimir Dronnikov
> If you send cookies with your XML requests, then this is doable too :) > But with the 1.5-dev branch only which is able to learn the cookie > string and to store it into a stick table. I see. > > That way you learn the cookie from the HTTP backend and you keep > stickiness on it in the XML back

Re: how to serve inline flash policy

2011-09-16 Thread Vladimir Dronnikov
> > I have not tried this conf, but I would be keen to know if it helped you :) > Thanks a lot! Just made a copy of default backend, put that copy and frontend in tcp mode and it worked. Am testing stickiness (i use cookie based one). This example should go to haproxy ./examples --Vladimir

how to serve inline flash policy

2011-09-15 Thread Vladimir Dronnikov
Hi! Wonder is that possible to serve inline flash policy? That is, to distinguish connections which receives '\0' (no newline is expected) and immediately respond with some xml. The problem is that such requests are _not HTTP_ ones, but they still must be served from the same host and port where t