From: William A. Rowe Jr Date: Fri, 3 Aug 2001 02:17:44 +0000 (+0000) Subject: Allow a slightly larger range of acceptable responses. X-Git-Tag: 2.0.23~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52e25595a65b9d50863de2a1f0b112ba4e72c983;p=thirdparty%2Fapache%2Fhttpd.git Allow a slightly larger range of acceptable responses. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89900 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 2fa571a06fc..467e892ff9e 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1162,7 +1162,7 @@ static struct ent *make_autoindex_entry(const apr_finfo_t *dirent, } if ((rr->finfo.filetype != APR_DIR && rr->finfo.filetype != APR_REG) - || rr->status != OK) { + || (rr->status != OK && ap_is_HTTP_SUCCESS(rr->status))) { ap_destroy_sub_req(rr); return (NULL); }