From: Bill Stoddard Date: Wed, 31 Jan 2001 22:58:53 +0000 (+0000) Subject: This fixes a performance problem with directory indexing on Windows. X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b16dac8e13ed43c8905304f230c1046ae2b8e0b;p=thirdparty%2Fapache%2Fhttpd.git This fixes a performance problem with directory indexing on Windows. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87934 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 4cff2572790..3c4bc08bf3e 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -978,7 +978,7 @@ AP_DECLARE(request_rec *) ap_sub_req_lookup_file(const char *new_file, ap_parse_uri(rnew, rnew->uri); /* fill in parsed_uri values */ if (((rv = apr_stat(&rnew->finfo, rnew->filename, - APR_FINFO_NORM, rnew->pool)) != APR_SUCCESS) + APR_FINFO_MIN, rnew->pool)) != APR_SUCCESS) && (rv != APR_INCOMPLETE)) { rnew->finfo.filetype = 0; }