This commit is contained in:
parent
34e50e73fd
commit
2da06cf05b
@ -133,7 +133,7 @@ public class HttpClient {
|
|||||||
//inputStream from HttpURLConnection can be closed automatically,but new GZIPInputStream can't be closed automatically
|
//inputStream from HttpURLConnection can be closed automatically,but new GZIPInputStream can't be closed automatically
|
||||||
//so needs to close it manually
|
//so needs to close it manually
|
||||||
if (inputStream instanceof GZIPInputStream) {
|
if (inputStream instanceof GZIPInputStream) {
|
||||||
inputStream.close();
|
inputStream.close();
|
||||||
}
|
}
|
||||||
return httpResult;
|
return httpResult;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user