I want to see a core. 0 bytes reads are fine. Grr.
(I'm so tempted to throw this assert out, but if we get -1 length
brigades back, we're gonna be screwed.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93202
13f79535-47bb-0310-9956-
ffa450edef68
/* If this happens, we have a bucket of unknown length. Die because
* it means our assumptions have changed. */
- AP_DEBUG_ASSERT(totalread > 0);
+ AP_DEBUG_ASSERT(totalread >= 0);
if (ctx->state != BODY_NONE) {
ctx->remaining -= totalread;