Re: http-send-name-header buffer corruption (1.4.25)

2014-09-11 Thread Cyril Bonté
Hi Willy, Le 09/09/2014 08:08, Willy Tarreau a écrit : Hi Cyril, On Sun, Sep 07, 2014 at 06:30:40PM +0200, Cyril Bonté wrote: I was optimistic during my tests unless I tried sending POST requests with a body longer than the buffer size. In certain conditions, haproxy segfaults. For example,

Re: http-send-name-header buffer corruption (1.4.25)

2014-09-09 Thread Willy Tarreau
Hi Cyril, On Sun, Sep 07, 2014 at 06:30:40PM +0200, Cyril Bonté wrote: Hi all, Le 06/09/2014 08:28, Willy Tarreau a écrit : To be honnest, I think it is necessary, and I hope it will be enough. We had this issue in 1.5-dev as well a long time ago and the problem was the same, the beginning

Re: http-send-name-header buffer corruption (1.4.25)

2014-09-07 Thread Cyril Bonté
Hi all, Le 06/09/2014 08:28, Willy Tarreau a écrit : To be honnest, I think it is necessary, and I hope it will be enough. We had this issue in 1.5-dev as well a long time ago and the problem was the same, the beginning of the message was not moved. Now 1.5's buffer semantics have changed to

Re: http-send-name-header buffer corruption (1.4.25)

2014-09-06 Thread Willy Tarreau
Hi Cyril, On Sat, Sep 06, 2014 at 02:35:27AM +0200, Cyril Bonté wrote: Hi Guillaume and Willy, Le 05/09/2014 22:05, Cyril Bonté a écrit : Indeed, I could reproduce the issue in 100% of my tests, sending 2 requests with keep-alive enabled. In case it helps to track the issue, I could

Re: http-send-name-header buffer corruption (1.4.25)

2014-09-05 Thread Cyril Bonté
Hi Guillaume, Le 04/09/2014 11:56, Guillaume Castagnino a écrit : Hi, It seems that there is an issue with http-send-name-header. I can reproduce with 1.4.25, but not 1.5. Sometime it works as expected, and sometime the Header is corrupted The conf: listen

Re: http-send-name-header buffer corruption (1.4.25)

2014-09-05 Thread Cyril Bonté
Hi Guillaume and Willy, Le 05/09/2014 22:05, Cyril Bonté a écrit : Indeed, I could reproduce the issue in 100% of my tests, sending 2 requests with keep-alive enabled. In case it helps to track the issue, I could simplify the configuration up to : listen test :10002 balance roundrobin

Re: http-send-name-header buffer corruption (1.4.25)

2014-09-05 Thread Cyril Bonté
Le 06/09/2014 02:35, Cyril Bonté a écrit : Hi Guillaume and Willy, Le 05/09/2014 22:05, Cyril Bonté a écrit : Indeed, I could reproduce the issue in 100% of my tests, sending 2 requests with keep-alive enabled. In case it helps to track the issue, I could simplify the configuration up to :

http-send-name-header buffer corruption (1.4.25)

2014-09-04 Thread Guillaume Castagnino
Hi, It seems that there is an issue with http-send-name-header. I can reproduce with 1.4.25, but not 1.5. Sometime it works as expected, and sometime the Header is corrupted The conf: listen 6c353edc-32b2-11e4-abba-0800272e3d2e 127.0.0.100:10002 balance roundrobin mode http timeout