diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-08-03 02:17:44 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-08-03 02:17:44 +0000 |
commit | 52e25595a65b9d50863de2a1f0b112ba4e72c983 (patch) | |
tree | cc11d05d720a0a65cee6042941aae51d29950636 | |
parent | 94ff0163de2795f47bc06d1f692f448aa6f6e4b9 (diff) | |
download | httpd-52e25595a65b9d50863de2a1f0b112ba4e72c983.tar.gz |
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
-rw-r--r-- | modules/generators/mod_autoindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 2fa571a06f..467e892ff9 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); } |