]> granicus.if.org Git - apache/commitdiff
This fixes a performance problem with directory indexing on Windows.
authorBill Stoddard <stoddard@apache.org>
Wed, 31 Jan 2001 22:58:53 +0000 (22:58 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 31 Jan 2001 22:58:53 +0000 (22:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87934 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 4cff25727900449929835c3c6b6e2455917776fc..3c4bc08bf3efc70dca795df0728d6e6da75f7d36 100644 (file)
@@ -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;
         }