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/http http_protocol.c
Date Thu, 26 Jul 2001 17:12:29 GMT
wrowe       01/07/26 10:12:29

  Modified:    modules/http http_protocol.c
  Log:
    Something that needs looking at, all our long (unsigned long) body
    lengths need to become apr_off_t.
  
  Revision  Changes    Path
  1.335     +2 -2      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.334
  retrieving revision 1.335
  diff -u -r1.334 -r1.335
  --- http_protocol.c	2001/07/26 16:05:36	1.334
  +++ http_protocol.c	2001/07/26 17:12:29	1.335
  @@ -1294,7 +1294,7 @@
   {
       const char *tenc = apr_table_get(r->headers_in, "Transfer-Encoding");
       const char *lenp = apr_table_get(r->headers_in, "Content-Length");
  -    long max_body;
  +    apr_off_t max_body;
   
       r->read_body = read_policy;
       r->read_chunked = 0;
  @@ -2490,7 +2490,7 @@
           int rv;
           /* A single range */
   
  -        /* rvarse_byterange() modifies the contents, so make a copy */
  +        /* parse_byterange() modifies the contents, so make a copy */
           if ((rv = parse_byterange(apr_pstrdup(r->pool, range + 6), r->clength,
                                &range_start, &range_end)) <= 0) {
               return rv;
  
  
  

Mime
View raw message