Re: haproxy does not capture the complete request header host sometimes

2017-06-22 Thread Willy Tarreau
Hi Daniel, On Thu, Jun 22, 2017 at 10:45:27AM +0200, Daniel Schneller wrote: > If I read the patch correctly, even though it is classified as "MINOR" it > will fail with an error on startup, when the configuration has a value > outside the range. > When backporting into the stable branches, this c

Re: haproxy does not capture the complete request header host sometimes

2017-06-22 Thread Daniel Schneller
Hi! Phew, I was following this one with some concern, fearing it could be something more serious just waiting to hit us, too ;-) Great that the issue was found, thanks for that! There is just one thing I wanted to note regarding > […] It can be backported in 1.7, 1.6 and 1.5. I finally marked t

Re: haproxy does not capture the complete request header host sometimes

2017-06-21 Thread Willy Tarreau
On Wed, Jun 21, 2017 at 05:00:01PM +0200, Christopher Faulet wrote: > I attached a patch to improve the configuration parsing and to update the > documentation. It can be backported in 1.7, 1.6 and 1.5. I finally marked > this patch as a bug fix. Applied, thanks to both of your for killing this on

Re: haproxy does not capture the complete request header host sometimes

2017-06-21 Thread Christopher Faulet
Le 13/06/2017 à 14:16, Christopher Faulet a écrit : Le 13/06/2017 à 10:31, siclesang a écrit : haproxy balances by host,but often captures a part of request header host or null, and requests balance to default server. how to debug it , Hi, I'll try to help you. Can you share your configu

Re: haproxy does not capture the complete request header host sometimes

2017-06-13 Thread Christopher Faulet
Le 13/06/2017 à 10:31, siclesang a écrit : haproxy balances by host,but often captures a part of request header host or null, and requests balance to default server. how to debug it , Hi, I'll try to help you. Can you share your configuration please ? It could help to find a potential b

Re:Re: Re: haproxy does not capture the complete request header host sometimes

2017-06-13 Thread siclesang
haproxy balances by host,but often captures a part of request header host or null, and requests balance to default server. how to debug it , thinks strace.log: 15:48:48.826818 setsockopt(12, SOL_SOCKET, SO_LINGER, {onoff=1, linger=0}, 8) = 0 <0.23> 15:48:48.826881 close(12)

Re:Re: Re: haproxy does not capture the complete request header host sometimes

2017-06-06 Thread siclesang
strace.log: 15:48:48.826818 setsockopt(12, SOL_SOCKET, SO_LINGER, {onoff=1, linger=0}, 8) = 0 <0.23> 15:48:48.826881 close(12) = 0 <0.37> 15:48:48.826968 epoll_wait(3, {{EPOLLIN, {u32=8, u64=8}}}, 500, 68) = 1 <0.048443> 15:48:48.875473 accept4(8, {sa_family=AF_INET, sin_p

Re: Re: haproxy does not capture the complete request header host sometimes

2017-05-30 Thread Willy Tarreau
On Wed, May 31, 2017 at 10:15:56AM +0800, siclesang wrote: > i am sorry > -d output > 954722 000513c:.accept(0008)=000a from [10.201.10.11:10037] > 954723 000513c:.clihdr[000a:] POST /coupon/show/a511 HTTP/1.1 > 954724 000513c:.clihdr[000a:] Connection: keep-alive > 9547

Re:Re: haproxy does not capture the complete request header host sometimes

2017-05-30 Thread siclesang
i am sorry -d output 954722 000513c:.accept(0008)=000a from [10.201.10.11:10037] 954723 000513c:.clihdr[000a:] POST /coupon/show/a511 HTTP/1.1 954724 000513c:.clihdr[000a:] Connection: keep-alive 954725 000513c:.clihdr[000a:] ent-Type: application/x-www-form-

Re:Re: haproxy does not capture the complete request header host sometimes

2017-05-30 Thread siclesang
i am sorry -d output 954722 000513c:.accept(0008)=000a from [10.201.10.11:10037] 954723 000513c:.clihdr[000a:] POST /coupon/show/a511 HTTP/1.1 954724 000513c:.clihdr[000a:] Connection: keep-alive 954725 000513c:.clihdr[000a:] ent-Type: application/x-www-form-

Re: haproxy does not capture the complete request header host sometimes

2017-05-26 Thread Willy Tarreau
On Tue, May 23, 2017 at 10:13:40AM +0200, Aleksandar Lazic wrote: > Hi siclesang. > > siclesang have written on Mon, 22 May 2017 11:11:31 +0800 (CST): > > > hi > > i have a problem:haproxy does not capture the complete request > > header host sometimes > > Which header do you miss? > How long

Re: haproxy does not capture the complete request header host sometimes

2017-05-23 Thread Aleksandar Lazic
Hi siclesang. siclesang have written on Mon, 22 May 2017 11:11:31 +0800 (CST): > hi > i have a problem:haproxy does not capture the complete request > header host sometimes Which header do you miss? How long is the header? > i run haroxpy with -d for some time > > haproxy -vv > HA-Proxy ve