You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@apache.org on 2001/11/02 16:17:06 UTC
cvs commit: httpd-2.0/server core.c
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;