Commit 7a1b1492 authored by Greg Ames's avatar Greg Ames
Browse files

insure that we die quickly without looping etc. if somebody messes up

*readbytes again.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91726 13f79535-47bb-0310-9956-ffa450edef68
parent c6024ef0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2871,6 +2871,8 @@ static int core_input_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mod
        apr_bucket *e;
        apr_bucket_brigade *newbb;

        AP_DEBUG_ASSERT(*readbytes > 0);
        
        if (APR_BRIGADE_EMPTY(ctx->b))
            return APR_EOF;