From: Michael Wallner Date: Tue, 11 Oct 2005 17:16:15 +0000 (+0000) Subject: - rerun only on Z_BUF_ERROR X-Git-Tag: RELEASE_0_16_0~22 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a04675773914229e067f48ad0912f3cf70cffdcf;p=m6w6%2Fext-http - rerun only on Z_BUF_ERROR --- 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;