httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Sun, 28 Jan 2001 04:07:03 GMT
rbb         01/01/27 20:07:03

  Modified:    .        CHANGES
               modules/http http_protocol.c
  Log:
  Fix some byterange handling.  If we get a byte range that looks like
  "-999999" where that is past the end of the file, we should return
  a PARTIAL CONTENT status code, and return the whole file as one big
  byterange.  This matches the 1.3 handling now.  [Ryan Bloom]
  
  Revision  Changes    Path
  1.61      +5 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -d -b -w -u -r1.60 -r1.61
  --- CHANGES	2001/01/28 03:36:01	1.60
  +++ CHANGES	2001/01/28 04:07:02	1.61
  @@ -1,5 +1,10 @@
   Changes with Apache 2.0b1
   
  +  *) Fix some byterange handling.  If we get a byte range that looks like
  +     "-999999" where that is past the end of the file, we should return 
  +     a PARTIAL CONTENT status code, and return the whole file as one big
  +     byterange.  This matches the 1.3 handling now.  [Ryan Bloom]
  +
     *) Make the error bucket a real meta-data bucket.  This means that the
        bucket length is 0, and a read returns NULL data.  If one of these
        buckets is passed down after the headers are sent, this data will
  
  
  
  1.287     +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.286
  retrieving revision 1.287
  diff -u -d -b -w -u -r1.286 -r1.287
  --- http_protocol.c	2001/01/28 03:38:21	1.286
  +++ http_protocol.c	2001/01/28 04:07:03	1.287
  @@ -185,7 +185,7 @@
       if (*start > *end)
   	return -1;
   
  -    return (*start > 0 || *end < clength - 1);
  +    return (*start > 0 || *end < clength);
   }
   
   static int ap_set_byterange(request_rec *r);
  
  
  

Mime
View raw message