Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8, 0.8.1
-
None
-
None
Description
I set "http.content.limit" to -1 to not truncate content being fetched.
However , if response used gzip or x-gzip , then it was not able to uncompress.
I found the problem is in HttpBase.processGzipEncoded (plugin lib-http)
...
byte[] content = GZIPUtils.unzipBestEffort(compressed, getMaxContent());
...
because it is not deal with -1 to no limit , so must modify code to solve it;
byte[] content;
if (getMaxContent()>=0)
else
{ content = GZIPUtils.unzipBestEffort(compressed); }