Re: Debug mode not working?!

2015-11-09 Thread Aleksandar Lazic
Hi Nenad, Am 09-11-2015 22:52, schrieb Nenad Merdanovic: Hello Aleksandar, Okay after removing accept-proxy from bind *:${HTTP_BIND_PORT} accept-proxy tfo It comes what expected. If you are using 'accept-proxy', HAproxy expects the payload to start with a PROXY protocol header. http://www

Re: Debug mode not working?!

2015-11-09 Thread Nenad Merdanovic
Hello Aleksandar, > Okay after removing accept-proxy from > > bind *:${HTTP_BIND_PORT} accept-proxy tfo > > It comes what expected. If you are using 'accept-proxy', HAproxy expects the payload to start with a PROXY protocol header. http://www.haproxy.org/download/1.6/doc/proxy-protocol.txt Re

Re: Debug mode not working?!

2015-11-09 Thread Aleksandar Lazic
Am 09-11-2015 22:21, schrieb Willy Tarreau: On Mon, Nov 09, 2015 at 10:15:46PM +0100, Aleksandar Lazic wrote: ... epoll_wait(3, {}, 200, 1000)= 0 epoll_wait(3, {{EPOLLIN, {u32=5, u64=5}}}, 200, 1000) = 1 accept4(5, {sa_family=AF_INET, sin_port=htons(52310), sin_addr=inet_a

Re: Debug mode not working?!

2015-11-09 Thread Willy Tarreau
On Mon, Nov 09, 2015 at 10:15:46PM +0100, Aleksandar Lazic wrote: > > ... > epoll_wait(3, {}, 200, 1000)= 0 > epoll_wait(3, {{EPOLLIN, {u32=5, u64=5}}}, 200, 1000) = 1 > accept4(5, {sa_family=AF_INET, sin_port=htons(52310), > sin_addr=inet_addr("127.0.0.1")}, [16], SOCK_NONBLO

Re: Debug mode not working?!

2015-11-09 Thread Aleksandar Lazic
Am 09-11-2015 11:34, schrieb Willy Tarreau: Hi Aleks, On Sun, Nov 08, 2015 at 04:24:29PM +0100, Aleksandar Lazic wrote: Hi. Today I have tried to debug haproxy as in the old days ;-), I was not able to see the communication on stderr. I'm sure I have something missed in the past on the list

Re: Debug mode not working?!

2015-11-09 Thread Willy Tarreau
Hi Aleks, On Sun, Nov 08, 2015 at 04:24:29PM +0100, Aleksandar Lazic wrote: > Hi. > > Today I have tried to debug haproxy as in the old days ;-), I was not > able to see the communication on stderr. > > I'm sure I have something missed in the past on the list to be able to > see the output. I

Debug mode not working?!

2015-11-08 Thread Aleksandar Lazic
Hi. Today I have tried to debug haproxy as in the old days ;-), I was not able to see the communication on stderr. I'm sure I have something missed in the past on the list to be able to see the output. My steps. curl -vO http://www.haproxy.org/download/1.6/src/haproxy-1.6.2.tar.gz tar xfvz