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/server core.c
Date Wed, 31 Oct 2001 20:18:56 GMT
gregames    01/10/31 12:18:56

  Modified:    server   core.c
  Log:
  return the actual number of bytes read when we're in "read a line" mode and it
  looks like the line may never end.
  
  This lets ap_getline determine whether there's excessive bytes or not,
  depending on the size of its caller's buffers.  If the buffer can accomodate
  more bytes, ap_getline will continue to read.
  
  Revision  Changes    Path
  1.84      +1 -1      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- core.c	2001/10/31 18:21:53	1.83
  +++ core.c	2001/10/31 20:18:56	1.84
  @@ -2939,7 +2939,7 @@
           /* We didn't find an APR_ASCII_LF within the predefined maximum
            * line length. */
           if (len >= HUGE_STRING_LEN) {
  -            return -1;
  +            return len;
           }
       }
   
  
  
  

Mime
View raw message