Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Willy Tarreau
Hi Cyril, On Wed, Apr 30, 2014 at 01:27:13AM +0200, Cyril Bonté wrote: Hi again, Le 30/04/2014 00:04, Cyril Bonté a écrit : Hi, Sorry but it's difficult to understand your test case. OK, this time I think I could understand your issue and reproduce it. The minimal setup I've used :

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Willy Tarreau
Hi again, On Wed, Apr 30, 2014 at 07:59:11AM +0200, Willy Tarreau wrote: OK, this time I think I could understand your issue and reproduce it. The minimal setup I've used : defaults mode http listen test :80 balance url_param q hash-type consistent server

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Seri
Bontécyril.bo...@free.fr; Cc: Seriseri0...@naver.com; Lukas Tribusluky...@hotmail.com; HAProxyhaproxy@formilux.org; Sent: 2014-04-30 (수) 18:10:04 Subject: Re: in uri balance, http-keep-alive broken Hi again, On Wed, Apr 30, 2014 at 07:59:11AM +0200, Willy Tarreau wrote: OK, this time I think I could

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Willy Tarreau
On Wed, Apr 30, 2014 at 06:21:40PM +0900, Seri wrote: Hi, This issue is reproduced in this environment( frontend(http-keep-alive), backend(http-server-close) ). In this environment(frontend(http-server-close), backend(http-server-close)), this works well. Even then, still no luck for me

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Willy Tarreau
On Wed, Apr 30, 2014 at 11:49:20AM +0200, Willy Tarreau wrote: On Wed, Apr 30, 2014 at 06:21:40PM +0900, Seri wrote: Hi, This issue is reproduced in this environment( frontend(http-keep-alive), backend(http-server-close) ). In this environment(frontend(http-server-close),

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Cyril Bonté
Hi again Willy, Le 30/04/2014 12:02, Willy Tarreau a écrit : On Wed, Apr 30, 2014 at 11:49:20AM +0200, Willy Tarreau wrote: On Wed, Apr 30, 2014 at 06:21:40PM +0900, Seri wrote: Hi, This issue is reproduced in this environment( frontend(http-keep-alive), backend(http-server-close) ). In

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Willy Tarreau
On Wed, Apr 30, 2014 at 12:02:29PM +0200, Willy Tarreau wrote: On Wed, Apr 30, 2014 at 11:49:20AM +0200, Willy Tarreau wrote: On Wed, Apr 30, 2014 at 06:21:40PM +0900, Seri wrote: Hi, This issue is reproduced in this environment( frontend(http-keep-alive),

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Willy Tarreau
On Wed, Apr 30, 2014 at 08:11:53PM +0200, Cyril Bonté wrote: I've just seen the patch you've committed and can confirm I don't reproduce the issue anymore. Our mails have crossed :-) Excellent, thanks for confirming! Well, I was ashamed for having done that stupid a thing causing this bug :-/

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Seri
Subject: Re: in uri balance, http-keep-alive broken On Wed, Apr 30, 2014 at 12:02:29PM +0200, Willy Tarreau wrote: On Wed, Apr 30, 2014 at 11:49:20AM +0200, Willy Tarreau wrote: On Wed, Apr 30, 2014 at 06:21:40PM +0900, Seri wrote: Hi, This issue is reproduced in this environment

Re: in uri balance, http-keep-alive broken

2014-04-30 Thread Willy Tarreau
On Thu, May 01, 2014 at 10:18:44AM +0900, Seri wrote: Hi Willy, Cyril It works very well. Thanks for your helps. thanks for your feedback! Willy

in uri balance, http-keep-alive broken

2014-04-29 Thread Seri
Hi, I've tested recent 1.5-dev24(a631fc8) git code. In frontend, option http-keep-alive In backend, balance uri or balance url_param option http-server-close In above configuration, server response is delayed or fail. Apr 29 17:01:31 localhost haproxy[1901]: x.x.x.x:7352

RE: in uri balance, http-keep-alive broken

2014-04-29 Thread Lukas Tribus
Hi Seri, Hi, I've tested recent 1.5-dev24(a631fc8) git code. In frontend, option http-keep-alive In backend, balance uri or balance url_param option http-server-close In above configuration, server response is delayed or fail. In a quick and unscientific test I was unable to

RE: in uri balance, http-keep-alive broken

2014-04-29 Thread Seri
-param etc environment, is to support client-side only keep-alive. Regards, Seri -Original Message- From: Lukas Tribusluky...@hotmail.com To: Seriseri0...@naver.com; HAProxyhaproxy@formilux.org; Cc: Sent: 2014-04-30 (수) 05:02:38 Subject: RE: in uri balance, http-keep-alive broken Hi

RE: in uri balance, http-keep-alive broken

2014-04-29 Thread Seri
Tribusluky...@hotmail.com; HAProxyhaproxy@formilux.org; Cc: Sent: 2014-04-30 (수) 06:41:22 Subject: RE: in uri balance, http-keep-alive broken Hi Lukas, I've tested in test environment, 1 client, 1 haproxy, 1 backend server. Surely, no network, backend server issues. In uri balance method, no issues

Re: in uri balance, http-keep-alive broken

2014-04-29 Thread Cyril Bonté
, issues are reproduced. Your thread title talks about http-keep-alive broken but here you say that issues occurs with balance uri_param (url_param ?), where in the configuration below, I guess it uses a backend with option http-server-close. My test configuration as belows, frontend http

Re: in uri balance, http-keep-alive broken

2014-04-29 Thread Cyril Bonté
Hi again, Le 30/04/2014 00:04, Cyril Bonté a écrit : Hi, Sorry but it's difficult to understand your test case. OK, this time I think I could understand your issue and reproduce it. The minimal setup I've used : defaults mode http listen test :80 balance url_param q

RE: http-keep-alive broken?

2014-01-28 Thread Lukas Tribus
Hey guys, Do you still want me to bisect? Or should I wait? If you think the problem is the same I'll just test the fix :-) Don't waste your time bisecting. I'll propose you to test the patch instead. The problem I've seen is always the same and is related to the fact that the SSL layer

Re: http-keep-alive broken?

2014-01-28 Thread Willy Tarreau
Hi Lukas, On Tue, Jan 28, 2014 at 08:24:39PM +0100, Lukas Tribus wrote: Hey guys, Do you still want me to bisect? Or should I wait? If you think the problem is the same I'll just test the fix :-) Don't waste your time bisecting. I'll propose you to test the patch instead. The

Re: http-keep-alive broken?

2014-01-10 Thread Willy Tarreau
Hi Sander, On Fri, Jan 10, 2014 at 08:57:18AM +0100, Sander Klein wrote: Hi, I'm sorry you haven't heard from me yet. But I didn't have time to look into this issue. Hope to do it this weekend. Don't rush on it, Baptiste has reported to me a reproducible issue on his lab which seems to

Re: http-keep-alive broken?

2014-01-10 Thread Sander Klein
Heyz, On 10.01.2014 09:14, Willy Tarreau wrote: Hi Sander, On Fri, Jan 10, 2014 at 08:57:18AM +0100, Sander Klein wrote: Hi, I'm sorry you haven't heard from me yet. But I didn't have time to look into this issue. Hope to do it this weekend. Don't rush on it, Baptiste has reported to me

Re: http-keep-alive broken?

2014-01-10 Thread Willy Tarreau
On Fri, Jan 10, 2014 at 10:47:51AM +0100, Sander Klein wrote: Heyz, On 10.01.2014 09:14, Willy Tarreau wrote: Hi Sander, On Fri, Jan 10, 2014 at 08:57:18AM +0100, Sander Klein wrote: Hi, I'm sorry you haven't heard from me yet. But I didn't have time to look into this issue. Hope to

Re: http-keep-alive broken?

2014-01-09 Thread Sander Klein
Hi, I'm sorry you haven't heard from me yet. But I didn't have time to look into this issue. Hope to do it this weekend. Greets, Sander

Re: http-keep-alive broken?

2014-01-06 Thread Willy Tarreau
Hi guys, On Sun, Jan 05, 2014 at 09:36:03PM +0100, Lukas Tribus wrote: Hi, Disabling epoll doesn't fix it... drat... Tested it with ss-20140104. Could it be that it's a more subtle bug somewhere else? If disabling epoll doesn't workaround that problem then another patch must be the

Re: http-keep-alive broken?

2014-01-06 Thread Sander Klein
On 06.01.2014 15:10, Willy Tarreau wrote: I would go even further (using git). What I understand here is that the issue was introduced after the epoll optimization and is hidden by this one. So I'd rather start by reverting that patch and then looking up for another faulty patch after those :

Re: http-keep-alive broken?

2014-01-06 Thread Willy Tarreau
On Mon, Jan 06, 2014 at 06:21:47PM +0100, Sander Klein wrote: On 06.01.2014 15:10, Willy Tarreau wrote: I would go even further (using git). What I understand here is that the issue was introduced after the epoll optimization and is hidden by this one. So I'd rather start by reverting that

RE: http-keep-alive broken?

2014-01-05 Thread Lukas Tribus
Hi, Well, after spending some time compiling testing compiling testing I finally found that the patch 0103-OPTIM-MEDIUM-epoll-fuse-active-events-into--1.5-dev19.diff done between 20131115 and 20131116 is causing my problems. I also found that this problem is much easier to reproduce on

RE: http-keep-alive broken?

2014-01-05 Thread Sander Klein
Hey, On 05.01.2014 17:33, Lukas Tribus wrote: Hi, Well, after spending some time compiling testing compiling testing I finally found that the patch 0103-OPTIM-MEDIUM-epoll-fuse-active-events-into--1.5-dev19.diff done between 20131115 and 20131116 is causing my problems. I also found that

RE: http-keep-alive broken?

2014-01-05 Thread Lukas Tribus
Hi, Disabling epoll doesn't fix it... drat... Tested it with ss-20140104. Could it be that it's a more subtle bug somewhere else? If disabling epoll doesn't workaround that problem then another patch must be the reason for this. But, Yes, that is correct. 20131115 works and 2013116

RE: http-keep-alive broken?

2014-01-04 Thread Sander Klein
Heyz, On 03.01.2014 22:52, Lukas Tribus wrote: Hi, The problem I'm having (also tested with ss-20140101 yesterday) happens with http-keep-alive enabled and also when just running in tunnel mode. But, when http-keep-alive is enabled I get the problem with ~98% of the requests and in tunnel

RE: http-keep-alive broken?

2014-01-04 Thread Sander Klein
Hey, On 03.01.2014 22:52, Lukas Tribus wrote: You said that one of your backends is exchange 2012. What release are the other ntlm-auth backends exactly and is the issue the same on all of them? All backends are windows 2012 with the standard IIS that comes with it. I have the problem on

Re: http-keep-alive broken?

2014-01-03 Thread Sander Klein
Hi Baptiste, Lukas, @Lukas: Sorry I misread your tunnel-mode for tcp-mode. Tunnel-mode works (almost) fine as you can read below. I have been investigating my problem a bit more, and then I remembered that I also updated haproxy a week before we started using our new Windows 2012 servers.

Re: http-keep-alive broken?

2014-01-03 Thread Baptiste
Hi Sander, In my configuration, I enabled option http-keep-alive in the default section, that way, it is applied to all next frontend and backend. Then you can disable it locally by prefixing the same option by no. And it works :) I've attached to this mail, the log session showing myself

RE: http-keep-alive broken?

2014-01-03 Thread Lukas Tribus
Hi, The problem I'm having (also tested with ss-20140101 yesterday) happens with http-keep-alive enabled and also when just running in tunnel mode. But, when http-keep-alive is enabled I get the problem with ~98% of the requests and in tunnel mode I get it with ~10% of the requests.

RE: http-keep-alive broken?

2014-01-02 Thread Sander Klein
On 31.12.2013 00:50, Lukas Tribus wrote: Hi, Subject: http-keep-alive broken? Hi, I'm using haproxy ss-20131229 to reverse proxy some windows iis server with ntlm-auth enabled (one of them being exchange 2012). While I understood that using 'option http-keep-alive' would make ntlm-auth work

Re: http-keep-alive broken?

2014-01-02 Thread Baptiste
...@roedie.nl wrote: On 31.12.2013 00:50, Lukas Tribus wrote: Hi, Subject: http-keep-alive broken? Hi, I'm using haproxy ss-20131229 to reverse proxy some windows iis server with ntlm-auth enabled (one of them being exchange 2012). While I understood that using 'option http-keep-alive' would make

RE: http-keep-alive broken?

2014-01-02 Thread Lukas Tribus
Hi, Wile I do agree that using tcp-mode would make stuff easier, I also need to do some redirecting on the host-header. Which is AFAIK not possible while in tcp-mode. (I might be wrong) No, I really meant http mode, but in the (default) tunneling mode, which can only analyze the first

http-keep-alive broken?

2013-12-30 Thread Sander Klein
Hi, I'm using haproxy ss-20131229 to reverse proxy some windows iis server with ntlm-auth enabled (one of them being exchange 2012). While I understood that using 'option http-keep-alive' would make ntlm-auth work, it doesn't work for me. Are there still some issue with http-keep-alive and

RE: http-keep-alive broken?

2013-12-30 Thread Lukas Tribus
Hi, Subject: http-keep-alive broken? Hi, I'm using haproxy ss-20131229 to reverse proxy some windows iis server with ntlm-auth enabled (one of them being exchange 2012). While I understood that using 'option http-keep-alive' would make ntlm-auth work, it doesn't work for me

Re: http-keep-alive broken?

2013-12-30 Thread Thomas Heil
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 31.12.2013 00:50, Lukas Tribus wrote: Hi, Subject: http-keep-alive broken? Hi, I'm using haproxy ss-20131229 to reverse proxy some windows iis server with ntlm-auth enabled (one of them being exchange 2012). While I understood

Re: http-keep-alive broken?

2013-12-30 Thread Willy Tarreau
On Tue, Dec 31, 2013 at 03:22:43AM +0100, Thomas Heil wrote: While I understood that using 'option http-keep-alive' would make ntlm-auth work, it doesn't work for me. Are there still some issue with http-keep-alive and ntlm-auth? Honestly I would just use the default tunnel mode for