-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Closed stream error when using GZip on 1.3.0.dev #11389
Comments
The problem is that the internal
The exact flow of control which breaks this goes like this: |
I'm not familiar with using GZip, but this is how it's written in Lucky. If we get rid of |
Note the according to the docs, and as far as I remember, you could perfectly change the response output. The docs even mention compression as one of the examples. If this broke in master, I think we should revert whatever broke it. Otherwise we are breaking backwards compatibility. |
Sorry, I completely missed that the above code works in 1.2.1. It's a regression from #11253 then. |
Sorry for the delay, I lost track of this issue. It should've deserved more priority. I submitted a patch in #11631. I ensured the spec in |
Thanks @straight-shoota! |
This code works on Crystal 1.2.1 but throws an IO::Error on 1.3.0.dev
Ref: Lucky CI
The text was updated successfully, but these errors were encountered: