From: Jim Jagielski Date: Wed, 9 Jan 2008 16:51:49 +0000 (+0000) Subject: belt and suspenders X-Git-Tag: 2.3.0~1040 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e141d35ef7f7bd0b898bc3c65b239ad7fb24a96;p=apache belt and suspenders git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@610451 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index f66650da6e..d3fa5f1c0c 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -148,7 +148,7 @@ static apr_status_t get_remaining_chunk_line(http_ctx_t *ctx, /* If we got a zero-length data bucket, we try the next one */ } /* We had no data in this brigade */ - if (e == APR_BRIGADE_SENTINEL(b)) { + if (!len || e == APR_BRIGADE_SENTINEL(b)) { return APR_EAGAIN; } if (lineend[len - 1] != APR_ASCII_LF) {