Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 74578 invoked from network); 30 Dec 2006 11:12:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Dec 2006 11:12:02 -0000 Received: (qmail 9862 invoked by uid 500); 30 Dec 2006 11:12:02 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 9775 invoked by uid 500); 30 Dec 2006 11:12:01 -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: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 9764 invoked by uid 99); 30 Dec 2006 11:12:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Dec 2006 03:12:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 30 Dec 2006 03:11:54 -0800 Received: (qmail 74063 invoked by uid 2161); 30 Dec 2006 11:11:33 -0000 Received: from [192.168.2.4] (euler.heimnetz.de [192.168.2.4]) by cerberus.heimnetz.de (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 31FD91721C for ; Sat, 30 Dec 2006 12:11:22 +0100 (CET) Message-ID: <4596495B.2000700@apache.org> Date: Sat, 30 Dec 2006 12:11:23 +0100 From: Ruediger Pluem User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: de, en, de-de, en-gb, cy, zu, xh MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: archive.apache.org issues References: <4591C260.2090202@apache.org> <4592ED0E.9000509@apache.org> <5c902b9e0612280804p21f5bb98w3a8679f2964bbed7@mail.gmail.com> <459455E7.4020809@apache.org> <5c902b9e0612282033o6eeebb48t5313b924f4f6cdbe@mail.gmail.com> <4594A4F5.8050404@apache.org> <4595ADB0.1040702@apache.org> In-Reply-To: <4595ADB0.1040702@apache.org> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 12/30/2006 01:07 AM, Ruediger Pluem wrote: > > On 12/29/2006 06:17 AM, Paul Querna wrote: > > >>Ya, I'm not sure why that is happening either. >> >>This works: >>http://archive.apache.org/dist/ >> >>And so does this: >>http://archive.apache.org/index.html >> >>But this: >>http://archive.apache.org/ >> >>Does not. So, the error log has: >>[Fri Dec 29 05:10:00 2006] [error] [client 66.225.25.189] (70008)Partial >>results are valid but processing is incomplete: access to /index.html failed >> >>It seems like the cause must be something broken in httpd trunk. >> >>I think this commit did it: >>http://svn.apache.org/viewvc?view=rev&revision=425394 > > > I think we should not shoot the messenger here :-): > > --- httpd/httpd/trunk/server/request.c 2006/07/25 13:33:05 425393 > +++ httpd/httpd/trunk/server/request.c 2006/07/25 13:40:32 425394 > @@ -553,9 +553,22 @@ > * check. > */ > if (!(opts & OPT_SYM_LINKS)) { > - apr_stat(&thisinfo, r->filename, > - APR_FINFO_MIN | APR_FINFO_NAME | APR_FINFO_LINK, > - r->pool); > + rv = apr_stat(&thisinfo, r->filename, > + APR_FINFO_MIN | APR_FINFO_NAME | APR_FINFO_LINK, Digging somewhat deeper it turns out that adding APR_FINFO_NAME to the list of wanted information causes this apr_stat to return always APR_INCOMPLETE on Unix platforms in the case that the call to the native stat / lstat does not fail. This raises the following questions: 1. Do we need to add APR_FINFO_NAME to this apr_stat call? I think we do not need it on Unix platforms but I am not sure if this is true for other platforms. 2. If we need it can we simply ignore an APR_INCOMPLETE return code on all platforms and only bail out if ((rv != APR_INCOMPLETE) && (rv != APR_SUCCESS)) Regards R�diger