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 Baptiste
have you turned on the proxy to mode http ? this macro might be available only in http mode. On Fri, Sep 16, 2011 at 10:51 AM, Vladimir Dronnikov wrote: >> since your request is not RFC compliant, HAProxy will drop it. >> You may give a try with the "option accept-invalid-http-request" on >> th

Re: how to serve inline flash policy

2011-09-16 Thread Baptiste
might be patchable :) I'll look at it and let you know. On Fri, Sep 16, 2011 at 10:51 AM, Vladimir Dronnikov wrote: >> 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 n

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 Baptiste
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. cheers On Fri, Sep 16, 2011 at 10:42 AM, Vladimir Dronnikov wrote: >> If you send cookies with your XML requests, then this is doable too :

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 Baptiste
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. That way you learn the cookie from the HTTP backend and you keep stickiness on it in the XML backend. cheers On Fr

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

Re: how to serve inline flash policy

2011-09-15 Thread Baptiste
Hi, Can you try with the configuration below: frontend ft_application bind :80 mode tcp use_backend bk_xml if !HTTP default_backend bk_http backend bk_xml mode tcp balance roundrobin stick match src table bk_http server s1 192.168.1