-
-
Notifications
You must be signed in to change notification settings - Fork 735
StrictMode: Not closing ApacheHttpClient Gzip Stream #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Actually this might be a bug with OKHttp, but might be related to not closing the stream after parsing the result. As I don't see this issue personally with OKHttp when using it. |
@chrisjenx thank you so much for your issue. It seems a bug from our side not OKHttp. We forget to close the network stream in some cases. I have already send a PR, check #40 .
|
@wangmengyan95 Hey, I am using:
|
@chrisjenx thanks for you help, my PR has resolved this problem. |
OK cool thanks @wangmengyan95 |
Getting this too; I only noticed it because I run my apps in StrictMode with a Here's the stacktrace:
My dependencies:
|
When calling network requests, it seems that you don't terminate your InputStreams safely leading to resource leaking.
Android 5.1.0,
Genemotion emulator
parse-android:1.10.1.
Personally I would move to using something like OKHttp out of choice as it saves effort on these issues which have already been solved.
The text was updated successfully, but these errors were encountered: