From 3e141d35ef7f7bd0b898bc3c65b239ad7fb24a96 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 9 Jan 2008 16:51:49 +0000 Subject: [PATCH] belt and suspenders git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@610451 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1