httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_autoindex.c
Date Fri, 03 Aug 2001 02:17:44 GMT
wrowe       01/08/02 19:17:44

  Modified:    modules/generators mod_autoindex.c
  Log:
    Allow a slightly larger range of acceptable responses.
  
  Revision  Changes    Path
  1.76      +1 -1      httpd-2.0/modules/generators/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- mod_autoindex.c	2001/08/03 01:31:26	1.75
  +++ mod_autoindex.c	2001/08/03 02:17:44	1.76
  @@ -1162,7 +1162,7 @@
       }
   
       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);
       }
  
  
  

Mime
View raw message