X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_encoding_api.c;h=b87f1c08ed3d420064a2675eccb8f1c1196e77bb;hp=69b6721bdc4df0fb76d9fce2a419052a49d19ef5;hb=a04675773914229e067f48ad0912f3cf70cffdcf;hpb=d2d92ed054055987568b9c1b205b558ab8937ed4 diff --git a/http_encoding_api.c b/http_encoding_api.c index 69b6721..b87f1c0 100644 --- a/http_encoding_api.c +++ b/http_encoding_api.c @@ -297,7 +297,7 @@ PHP_HTTP_API STATUS _http_encoding_inflate(const char *data, size_t data_len, ch } } } - } while (max < HTTP_GZMAXTRY); + } while (max < HTTP_GZMAXTRY && status == Z_BUF_ERROR); http_error_ex(HE_WARNING, HTTP_E_ENCODING, "Could not inflate data: %s", zError(status)); return FAILURE;