X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_encoding_api.c;h=32072641204426fc5724ea5a7f410d37c7c71248;hb=8480134f621c302c1e1c29ee1aefe6a94f060c2b;hp=a31b5b79772cc0533c2af23274674cdb158db89d;hpb=f0bcc141e62c022101d8d19c1d73e7b9ae41d0e9;p=m6w6%2Fext-http diff --git a/http_encoding_api.c b/http_encoding_api.c index a31b5b7..3207264 100644 --- a/http_encoding_api.c +++ b/http_encoding_api.c @@ -467,7 +467,7 @@ PHP_HTTP_API STATUS _http_encoding_deflate_stream_flush(http_encoding_stream *s, { int status; - *encoded_len = 0x800; + *encoded_len = 0x8000; *encoded = emalloc_rel(*encoded_len); s->stream.avail_in = 0; @@ -503,7 +503,7 @@ PHP_HTTP_API STATUS _http_encoding_deflate_stream_finish(http_encoding_stream *s { int status; - *encoded_len = 0x800; + *encoded_len = 0x8000; *encoded = emalloc_rel(*encoded_len); /* deflate remaining input */