httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Wed, 06 Feb 2002 02:20:14 GMT
jerenkrantz    02/02/05 18:20:13

  Modified:    server   protocol.c
  Log:
  If the MIME-continuation line returns nothing, then we should return not
  segfault.
  
  (A minor change to Jeff's patch is that we ignore the EBCDIC code path.)
  
  Submitted by:	Jeff Trawick
  Reviewed by:	Justin Erenkrantz
  
  Revision  Changes    Path
  1.78      +6 -0      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- protocol.c	30 Jan 2002 04:37:29 -0000	1.77
  +++ protocol.c	6 Feb 2002 02:20:13 -0000	1.78
  @@ -401,6 +401,12 @@
               return rv;
           }
   
  +        if (APR_BRIGADE_EMPTY(bb)) {
  +            *read = bytes_handled;
  +            apr_brigade_destroy(bb);
  +            return APR_SUCCESS;
  +        }
  +
           e = APR_BRIGADE_FIRST(bb);
   
           /* If we see an EOS, don't bother doing anything more. */
  
  
  

Mime
View raw message