Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 24699 invoked from network); 1 Nov 2004 21:57:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Nov 2004 21:57:40 -0000 Received: (qmail 94490 invoked by uid 500); 1 Nov 2004 21:57:32 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 94418 invoked by uid 500); 1 Nov 2004 21:57:32 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 94404 invoked by uid 99); 1 Nov 2004 21:57:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [128.195.24.168] (HELO scotch.ics.uci.edu) (128.195.24.168) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 01 Nov 2004 13:57:30 -0800 Received: from st-augustin.ics.uci.edu (st-augustin.ics.uci.edu [128.195.20.85]) (authenticated bits=0) by scotch.ics.uci.edu (8.12.6/8.12.6) with ESMTP id iA1LvPOO007579 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 1 Nov 2004 13:57:26 -0800 (PST) Date: Mon, 01 Nov 2004 13:57:25 -0700 From: Justin Erenkrantz To: dev@httpd.apache.org Subject: Re: [PATCH] pipelining bug in Event MPM Message-ID: <715B69A9B2BED9F4AF132A03@st-augustin.ics.uci.edu> In-Reply-To: <4181405F.3040206@remulak.net> References: <4181405F.3040206@remulak.net> X-Mailer: Mulberry/3.1.6 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.0-rc3-r37138 X-Spam-Checker-Version: SpamAssassin 3.0.0-rc3-r37138 (2004-08-27) on scotch.ics.uci.edu X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --On Thursday, October 28, 2004 2:54 PM -0400 Greg Ames wrote: > I was able to easily create a browser hang by configuring Mozilla to > enable HTTP pipelining, then pointing my DocumentRoot at an old copy > of the xml.apache.org web site which had tons of imbedded graphics. > Thanks, Justin, for pointing out the bug. I'm sure you *really* want to thank me for pointing this out. ;-) > The attached patch fixes it when there are no connection filters such as > mod_ssl involved. When I switch to the version of the patch that does > speculative reads, it behaves oddly. With pipelining, the last couple of > .gifs aren't displayed until something times out. Without pipelining > nearly all the .gifs are delayed. In gdb, it looks like it's not > properly detecting when the input filters become empty. I'm going to > investigate further but need to take care of some day job stuff first. Okay. I'd be curious to figure out what's going on with the speculative non-blocking reads. I think that's the conceptually right solution (or as close as we can do today), but I'm almost positive there is going to be something that barf on it - so we'd have to fix some stuff. So, I'm not shocked that it doesn't quite work... > Paul, my apologies, this is against my version of the patch. I plan to > switch over to yours after figuring out what's happening with the > speculative reads. I think Paul's already posted a patch that folds it in. But, it still uses EATCRLF. Given the timeframe and the fact that my schedule just sucks for the next two weeks, is there enough interest (and presence) to discuss this at the Hackathon next weekend in LV? I bet if you throw enough of us together in a room, we could hammer something out that works... -- justin