From a97699031daae441c1d15ad6d4e00b51e46016d2 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Wed, 31 Jan 2001 22:58:53 +0000 Subject: [PATCH] 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 --- modules/http/http_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 4cff257279..3c4bc08bf3 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; } -- 2.50.0