Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-23 Thread Andy Wang
On 10/22/2015 04:50 PM, Yann Ylavic wrote: On Thu, Oct 22, 2015 at 3:42 PM, Andy Wang wrote: Tested with the patch and looks good. Not that much actually, the patch fails to consume the CRLFs, and hence can end up in an infinite loop. So I'm attaching a new one here

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Andy Wang
On 10/22/2015 10:31 AM, Andy Wang wrote: On 10/22/2015 10:06 AM, Yann Ylavic wrote: Does it make a difference with "AcceptFilter http none" configured? It shouldn't, but since we are in the x-files... I already had to do that. We have this weird scenario where when our installer installs

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Yann Ylavic
On Thu, Oct 22, 2015 at 3:42 PM, Andy Wang wrote: > > Tested with the patch and looks good. Not that much actually, the patch fails to consume the CRLFs, and hence can end up in an infinite loop. So I'm attaching a new one here (committed in trunk with a larger scope, this

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Andy Wang
So this is the problematic request: 02D0 6e 74 2d 54 79 70 65 3a 09 74 65 78 74 2f 70 6c nt-Type: .text/pl 02E0 61 69 6e 0d 0a 0d 0a 0a ain. This is a "regular" request using HttpPRequester extension or just using ncat or curl: 02D0 6e 74 2d 54 79

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Andy Wang
On 10/21/2015 10:01 AM, Andy Wang wrote: I will do that today. And thank you to Rudiger and yourself, and everyone else on the thread for all the help. I missed the trailing 0x0a in the different wireshark captures. I was trusting wireshark's http dissection rather than looking at the raw

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread William A Rowe Jr
On Thu, Oct 22, 2015 at 8:42 AM, Andy Wang wrote: > > On 10/21/2015 10:01 AM, Andy Wang wrote: > > I will do that today. >>> >>> And thank you to Rudiger and yourself, and everyone else on the thread >>> for all the help. >>> >>> I missed the trailing 0x0a in the different

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Andy Wang
On 10/22/2015 10:06 AM, Yann Ylavic wrote: Does it make a difference with "AcceptFilter http none" configured? It shouldn't, but since we are in the x-files... I already had to do that. We have this weird scenario where when our installer installs httpd, httpd hangs. Packet captures show

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Graham Leggett
On 22 Oct 2015, at 5:31 PM, Andy Wang wrote: > I already had to do that. We have this weird scenario where when our > installer installs httpd, httpd hangs. Packet captures show the request > arriving but no ACK or any form of response. > > If I kill the installer process,

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Yann Ylavic
Does it make a difference with "AcceptFilter http none" configured? It shouldn't, but since we are in the x-files... On Thu, Oct 22, 2015 at 4:52 PM, Andy Wang wrote: > So this is the problematic request: > 02D0 6e 74 2d 54 79 70 65 3a 09 74 65 78 74 2f 70 6c nt-Type:

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Andy Wang
On 10/22/2015 10:38 AM, Graham Leggett wrote: On 22 Oct 2015, at 5:31 PM, Andy Wang wrote: I already had to do that. We have this weird scenario where when our installer installs httpd, httpd hangs. Packet captures show the request arriving but no ACK or any form of

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-22 Thread Andy Wang
On 10/22/2015 10:52 AM, Andy Wang wrote: On 10/22/2015 10:38 AM, Graham Leggett wrote: On 22 Oct 2015, at 5:31 PM, Andy Wang wrote: I already had to do that. We have this weird scenario where when our installer installs httpd, httpd hangs. Packet captures show the

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Yann Ylavic
hricht- >> >> Von: Yann Ylavic [mailto:ylavic....@gmail.com] >> >> Gesendet: Mittwoch, 21. Oktober 2015 16:07 >> >> An: dev@httpd.apache.org >> >> Betreff: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on >> >> Windows. &

AW: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Plüm , Rüdiger , Vodafone Group
> -Ursprüngliche Nachricht- > Von: Yann Ylavic [mailto:ylavic@gmail.com] > Gesendet: Mittwoch, 21. Oktober 2015 16:07 > An: dev@httpd.apache.org > Betreff: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on > Windows. > > On Wed, Oct 21, 2015 at 2:29

AW: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Plüm , Rüdiger , Vodafone Group
> -Ursprüngliche Nachricht- > Von: Yann Ylavic [mailto:ylavic@gmail.com] > Gesendet: Mittwoch, 21. Oktober 2015 16:28 > An: dev@httpd.apache.org > Betreff: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on > Windows. > > On Wed, Oct 21, 2015 a

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Andy Wang
On 10/21/2015 09:31 AM, Yann Ylavic wrote: OK, thanks :) Andy, can you give the proposed patch a try? I will do that today. And thank you to Rudiger and yourself, and everyone else on the thread for all the help. I missed the trailing 0x0a in the different wireshark captures. I was

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Yann Ylavic
che.org >> Betreff: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on >> Windows. >> >> On Wed, Oct 21, 2015 at 2:29 PM, Ruediger Pluem <rpl...@apache.org> >> wrote: >> > >> > This looks like there is a stray \n in the input queue that ca

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Andy Wang
On 10/21/2015 09:54 AM, Andy Wang wrote: On 10/21/2015 09:31 AM, Yann Ylavic wrote: OK, thanks :) Andy, can you give the proposed patch a try? I will do that today. And thank you to Rudiger and yourself, and everyone else on the thread for all the help. I missed the trailing 0x0a in

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Yann Ylavic
On Wed, Oct 21, 2015 at 2:29 PM, Ruediger Pluem wrote: > > This looks like there is a stray \n in the input queue that causes httpd to > think that there is a pipelined request. I think we should tolerate blank lines in check_pipeline(), like read_request_line() does (this is

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-21 Thread Ruediger Pluem
On 10/20/2015 09:57 PM, Andy Wang wrote: > > > On 10/20/2015 11:16 AM, Andy Wang wrote: >> >> >> On 10/20/2015 05:19 AM, Yann Ylavic wrote: >> >>> >>> mod_dumpio's traces (level TRACE7) could be helpful here, Andy? >>> >> >> I'll reconfigure to get that in a bit today. >> I'll also try with

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Yann Ylavic
The proposed patch is dead anyway, just one remark though. On Tue, Oct 20, 2015 at 10:08 AM, Plüm, Rüdiger, Vodafone Group wrote: > > >> -Original Message- >> From: Yann Ylavic [mailto:ylavic@gmail.com] >> Sent: Dienstag, 20. Oktober 2015 01:05 >> >>

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Yann Ylavic
On Tue, Oct 20, 2015 at 10:17 AM, Plüm, Rüdiger, Vodafone Group wrote: > > Or is this something with mod_jk not correctly sending an EOS? Does this > happen with mod_proxy_ajp as well? If that was the case, I think we wouldn't enter the keepalive state, that's why I

RE: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Plüm , Rüdiger , Vodafone Group
> -Original Message- > From: Yann Ylavic [mailto:ylavic@gmail.com] > Sent: Dienstag, 20. Oktober 2015 10:54 > To: dev@httpd.apache.org > Subject: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on > Windows. > > On Tue, Oct 20, 2015 at 10:17 AM, Plüm,

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Yann Ylavic
gt;> Subject: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on >> Windows. >> >> On Tue, Oct 20, 2015 at 10:17 AM, Plüm, Rüdiger, Vodafone Group >> <ruediger.pl...@vodafone.com> wrote: >> > >> > Or is this something with mod_jk not correctly

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Yann Ylavic
lto:ylavic@gmail.com] >>> Sent: Dienstag, 20. Oktober 2015 10:54 >>> To: dev@httpd.apache.org >>> Subject: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on >>> Windows. >>> >>> On Tue, Oct 20, 2015 at 10:17 AM, Plüm, Rüdiger, Vodafone Gro

RE: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Plüm , Rüdiger , Vodafone Group
> -Original Message- > From: Yann Ylavic [mailto:ylavic@gmail.com] > Sent: Dienstag, 20. Oktober 2015 01:05 > To: dev@httpd.apache.org > Subject: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on > Windows. > > [From users@] > > On Mon, Oct 1

RE: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Plüm , Rüdiger , Vodafone Group
> -Original Message- > From: Yann Ylavic [mailto:ylavic@gmail.com] > Sent: Dienstag, 20. Oktober 2015 10:01 > To: dev@httpd.apache.org > Subject: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on > Windows. > > On Tue, Oct 20, 2015 at 4:24 AM,

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Yann Ylavic
On Tue, Oct 20, 2015 at 4:24 AM, Andy Wang wrote: > > > On 10/19/2015 07:44 PM, Eric Covener wrote: >> >> On Mon, Oct 19, 2015 at 7:05 PM, Yann Ylavic wrote: >>> >>> This is the deferred write triggering *after* the keepalive timeout, >>> whereas no

RE: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Plüm , Rüdiger , Vodafone Group
> -Original Message- > From: Yann Ylavic [mailto:ylavic@gmail.com] > Sent: Dienstag, 20. Oktober 2015 10:01 > To: dev@httpd.apache.org > Subject: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on > Windows. > > On Tue, Oct 20, 2015 at 4:24 AM, Andy Wa

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Andy Wang
On 10/20/2015 05:19 AM, Yann Ylavic wrote: mod_dumpio's traces (level TRACE7) could be helpful here, Andy? I'll reconfigure to get that in a bit today. I'll also try with mod_proxy_ajp as well to see if the same occurs. Thanks, Andy

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Rainer Jung
Am 20.10.2015 um 11:38 schrieb Plüm, Rüdiger, Vodafone Group: -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: Dienstag, 20. Oktober 2015 10:54 To: dev@httpd.apache.org Subject: Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows. On Tue, Oct 20

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Andy Wang
On 10/20/2015 11:16 AM, Andy Wang wrote: On 10/20/2015 05:19 AM, Yann Ylavic wrote: mod_dumpio's traces (level TRACE7) could be helpful here, Andy? I'll reconfigure to get that in a bit today. I'll also try with mod_proxy_ajp as well to see if the same occurs. mod_proxy_ajp has the

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-20 Thread Andy Wang
On 10/20/2015 02:57 PM, Andy Wang wrote: On 10/20/2015 11:16 AM, Andy Wang wrote: On 10/20/2015 05:19 AM, Yann Ylavic wrote: mod_dumpio's traces (level TRACE7) could be helpful here, Andy? I'll reconfigure to get that in a bit today. I'll also try with mod_proxy_ajp as well to see

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-19 Thread Andy Wang
On 10/19/2015 06:05 PM, Yann Ylavic wrote: [From users@] On Mon, Oct 19, 2015 at 11:44 PM, Andy Wang wrote: The issue is currently reproduced using Apache httpd 2.4.16, mod_jk 1.2.41 and tomcat 8.0.28. I've created a very very simple JSP page that does nothing but print a

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-19 Thread Eric Covener
On Mon, Oct 19, 2015 at 7:05 PM, Yann Ylavic wrote: > This is the deferred write triggering *after* the keepalive timeout, > whereas no subsequent request was pipelined. > I wonder if we shouldn't issue a flush at the end of each request when > the following is not already

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-19 Thread Yann Ylavic
[From users@] On Mon, Oct 19, 2015 at 11:44 PM, Andy Wang wrote: > > The issue is currently reproduced using Apache httpd 2.4.16, mod_jk 1.2.41 > and tomcat 8.0.28. > > I've created a very very simple JSP page that does nothing but print a small > string, but I've tried changing

Re: [users@httpd] Chunked transfer delay with httpd 2.4 on Windows.

2015-10-19 Thread Andy Wang
On 10/19/2015 07:44 PM, Eric Covener wrote: On Mon, Oct 19, 2015 at 7:05 PM, Yann Ylavic wrote: This is the deferred write triggering *after* the keepalive timeout, whereas no subsequent request was pipelined. I wonder if we shouldn't issue a flush at the end of each