-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Android StrictMode violation for Gzip response not closing InputStream #281
Comments
Still an issue? Does this occur on a redirect? Generally OkHttp doesn't close it's input stream; that's the application layer's job. But sometimes it does, as when it encounters a redirect. |
Yeah it's still an issue. Perhaps this ball belong's in retrofit's court then? I don't know... when my server guys turn off the gzip responses I don't see any violations. I can see in the retrofit |
We need a test case. |
This was determined to be a Retrofit bug. |
Using Retrofit with OkClient when I turn on StrictMode as follows
I get the following violation in the log...
The text was updated successfully, but these errors were encountered: