httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Fri, 25 Oct 2002 18:25:12 GMT
gregames    2002/10/25 11:25:12

  Modified:    modules/http http_protocol.c
  Log:
  don't apply byte ranges to redirects, error documents, etc.
  
  Revision  Changes    Path
  1.463     +1 -1      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.462
  retrieving revision 1.463
  diff -u -r1.462 -r1.463
  --- http_protocol.c	11 Oct 2002 15:29:20 -0000	1.462
  +++ http_protocol.c	25 Oct 2002 18:25:11 -0000	1.463
  @@ -3062,7 +3062,7 @@
           range = apr_table_get(r->headers_in, "Request-Range");
       }
   
  -    if (!range || strncasecmp(range, "bytes=", 6)) {
  +    if (!range || strncasecmp(range, "bytes=", 6) || r->status != HTTP_OK) {
           return 0;
       }
   
  
  
  

Mime
View raw message