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
Transparent GZIP with condition cache can cause ioexception #358
Comments
This can happen when using okhttp with volley for example. Here is an example test & fix |
Thanks! I'll take a look. If you fill out our contributor's agreement and submit a pull request I can use your code. |
Sorry, now its duplicated. It did follow the execution with the debugger for a couple of test cases to understand the issue but still... please do take a look, tests ran ok, but as it is re-entrant code somebody with better knowledge of the code-base should definitely have a better understanding. |
What does the IOException look like when this fails without the patch? |
One other option is to change initContentStream to be called differently when |
@pablolb please give the fix a try! |
WIth transparent gzip enabled, if the same resource is requested after it has been cached with cache validators, an ioexception is thrown.
The text was updated successfully, but these errors were encountered: