invalid chars in header name

2014-10-01 Thread Diana Hsu (ditsai)
Hi, I would like to validate a statement in "option accept-invalid-http-request" section: http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#option%20accept-invalid-http-request By default, HAProxy complies with RFC2616 in terms of message parsing. This means that invalid characters i

RE: Forcing an HTTP close in certain cases

2014-10-01 Thread Lukas Tribus
Hi David, > Howdy, > > I'm using HAProxy to choose among a series of dynamically allocated > HTTP backends. Basically, a user goes to URL A and clicks on the "start > my service" link. A new browser window/tab is popped up and they get > the new service/URL in the tab. > > Basically, got to /serv

RE: Binding http and https on same port

2014-10-01 Thread Lukas Tribus
Hi Alexander, > Is it possible to bind both HTTP and HTTPS on the same port with haproxy. > Something like this: > > frontend data-in > mode http > bind 0.0.0.0:8080 > crt if ssl /path/to/crt > > Obviously above doesn't work. Is there something similar? There may be something, but you will have

RE: Server Sent Events on iOS

2014-10-01 Thread Lukas Tribus
> Then you can see the client has used http piping (pretty dumb > considering the browser should know this connection is occupied) > to send requests for /21.png /22.png /23.png ( the hanging resources) > [...] Exactly. The fact the client is requesting static resource on a pipelined HTTP connecti

RE: Server Sent Events on iOS

2014-10-01 Thread Lukas Tribus
Hi William, > * In the first connection stream you can see the initial document, > followed by the event stream > * Then you can see the client has used http piping (pretty dumb > considering the browser should know this connection is occupied) > to send requests for /21.png /22.png /23.png ( the

RE: Why is 1.5.4 not listed as current version on website

2014-10-01 Thread Lukas Tribus
Hi, > I notice there was an announce for 1.5.4 at the beginning of September > but this is not listed as the current version > on http://www.haproxy.org/#down Willy just updated the website, thanks. Thanks, Lukas

RE: maxconn question

2014-10-01 Thread Lukas Tribus
Hi Diana, > In our HAProxy, we have maxconn defined in both global and defaults > sections, and there are total 5 frontend listeners configured: > > global > maxconn 10240 > … > defaults > mode http > maxconn 5000 > …. > frontend FE-1 > … > frontend FE-2 > … > frontend FE-3 > …

RE: Requests not expiring, exp= in Version: 1.5.3

2014-10-01 Thread Lukas Tribus
Hi Clark, > I found the problem to be this line in the frontend: > > tcp-request content track-sc1 urlp(apiKey) if !source_is_abuser > > The solution for me was to check that the url parameter "apiKey" exists, > and only store it in the sticktable if it exists. Then my connections > were expirin

Re: Binding http and https on same port

2014-10-01 Thread Pavlos Parissis
On 01/10/2014 04:30 μμ, Alexander Olsson wrote: > Is it possible to bind both HTTP and HTTPS on the same port with haproxy. > Something like this: > > frontend data-in > mode http > bind 0.0.0.0:8080 > crt if ssl /path/to/crt > > Obviously above doesn't work. Is there something similar? It

RE: EC2 Haproxy stops taking requests

2014-10-01 Thread Lukas Tribus
> I didn't see any error on browser and haproxy log. Browser gets stuck > in forever wait until i reload/restart haproxy service Because your queue timeout is 24 hours, so haproxy waits for 24 hours until it returns a 503. > of increasing timeout clients our checkout page show blank page on

Re: EC2 Haproxy stops taking requests

2014-10-01 Thread Umair Khan
I didn't see any error on browser and haproxy log. Browser gets stuck in forever wait until i reload/restart haproxy service and the reason of increasing timeout clients our checkout page show blank page on low timeout client. Regards, Umair On Wed, Oct 1, 2014 at 11:20 PM, Lukas Tribus wrote:

Re: Forcing an HTTP close in certain cases

2014-10-01 Thread David Pollak
Baptiste, Thanks for your help. I'm using HAProxy 1.5.4 and here's my config: global log /dev/loglocal0 log /dev/loglocal1 notice chroot /var/lib/haproxy stats socket /run/haproxy/admin.sock mode 660 level admin stats timeout 30s user haproxy group haproxy

RE: EC2 Haproxy stops taking requests

2014-10-01 Thread Lukas Tribus
Hi, > I am using haproxy with Apache to keep alive an EC2 server. Sometimes > haproxy stops taking new requests during this period we can't open our > website, If I reload haproxy service it starts working normally. Please clarify what "can't open" means exactly, what error your see in the b

Binding http and https on same port

2014-10-01 Thread Alexander Olsson
Is it possible to bind both HTTP and HTTPS on the same port with haproxy. Something like this: frontend data-in mode http bind 0.0.0.0:8080 crt if ssl /path/to/crt Obviously above doesn't work. Is there something similar? It's generally easy to see if it is TLS (starts with 0x16) on the p

Re: Forcing an HTTP close in certain cases

2014-10-01 Thread Baptiste
On Wed, Oct 1, 2014 at 2:07 PM, David Pollak wrote: > Howdy, > > I'm using HAProxy to choose among a series of dynamically allocated HTTP > backends. Basically, a user goes to URL A and clicks on the "start my > service" link. A new browser window/tab is popped up and they get the new > service/UR

Forcing an HTTP close in certain cases

2014-10-01 Thread David Pollak
Howdy, I'm using HAProxy to choose among a series of dynamically allocated HTTP backends. Basically, a user goes to URL A and clicks on the "start my service" link. A new browser window/tab is popped up and they get the new service/URL in the tab. Basically, got to /service click on a link, get a

Why is 1.5.4 not listed as current version on website

2014-10-01 Thread William Lewis
I notice there was an announce for 1.5.4 at the beginning of September but this is not listed as the current version on http://www.haproxy.org/#down