From d25751680a06110e8cea4bbf6b67bd82bb0192e3 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 23 Jul 2009 12:18:40 +0000 Subject: [PATCH] Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes in a chunk) # Original patch by andreas dot streichardt at globalpark dot com --- ext/standard/filters.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/standard/filters.c b/ext/standard/filters.c index 2acf73a532..726d48daa5 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -2088,6 +2088,7 @@ static int php_dechunk(char *buf, int len, php_chunked_filter_data *data) memmove(out, p, end - p); } data->chunk_size -= end - p; + data->state=CHUNK_BODY; out_len += end - p; return out_len; } -- 2.50.1