projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- rerun only on Z_BUF_ERROR
[m6w6/ext-http]
/
http_encoding_api.c
diff --git
a/http_encoding_api.c
b/http_encoding_api.c
index 69b6721bdc4df0fb76d9fce2a419052a49d19ef5..b87f1c08ed3d420064a2675eccb8f1c1196e77bb 100644
(file)
--- 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;