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
This commit is contained in:
Ilia Alshanetsky 2009-07-23 12:18:40 +00:00
parent 4744223055
commit b89985ac55
2 changed files with 3 additions and 0 deletions

2
NEWS
View File

@ -16,6 +16,8 @@ PHP NEWS
(Ilia)
- Fixed bug #48929 (Double \r\n after HTTP headers when "header" context
option is an array). (David Zülke)
- Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes in
a chunk) (andreas dot streichardt at globalpark dot com, Ilia)
- Fixed bug #48899 (is_callable returns true even if method does not exist in
parent class). (Felipe)
- Fixed bug #48893 (Problems compiling with Curl). (Felipe)

View File

@ -2007,6 +2007,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;
}