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 Fri, 02 Nov 2001 15:17:06 GMT
gregames    01/11/02 07:17:06

  Modified:    server   core.c
  Log:
  insure that we die quickly without looping etc. if somebody messes up
  *readbytes again.
  
  Revision  Changes    Path
  1.86      +2 -0      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- core.c	2001/10/31 22:55:43	1.85
  +++ core.c	2001/11/02 15:17:06	1.86
  @@ -2871,6 +2871,8 @@
           apr_bucket *e;
           apr_bucket_brigade *newbb;
   
  +        AP_DEBUG_ASSERT(*readbytes > 0);
  +        
           if (APR_BRIGADE_EMPTY(ctx->b))
               return APR_EOF;
   
  
  
  

Mime
View raw message