httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq/c apache_request.c
Date Mon, 11 Feb 2002 23:13:41 GMT
joes        02/02/11 15:13:40

  Modified:    c        apache_request.c
  Log:
  2nd try at mozilla hack: adjusted r->remaining for bogus Content-Length
  header.
  
  Revision  Changes    Path
  1.17      +1 -1      httpd-apreq/c/apache_request.c
  
  Index: apache_request.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/c/apache_request.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- apache_request.c	10 Feb 2002 13:48:37 -0000	1.16
  +++ apache_request.c	11 Feb 2002 23:13:40 -0000	1.17
  @@ -471,7 +471,7 @@
               /* mozilla empty-file (missing CRLF) hack */
               fill_buffer(mbuff);
               if(strEQ(mbuff->buf_begin, mbuff->boundary))
  -                continue;
  +                r->remaining -= 2, continue;
   
   	    while ((blen = multipart_buffer_read(mbuff, buff, sizeof(buff)))) {
   		if (req->upload_hook != NULL) {
  
  
  

Mime
View raw message