-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Static file download hangs when having undertow dependency and compression is enabled #12584
Comments
/cc @stuartwdouglas does it ring a bell? |
I can also confirm that when
It seems to me that when |
Seems like more or less the same as #14695? |
FWIW, I tried both this issue's reproducer and the one of #14695 with 2.0.0.CR1 which contains the upgrade to netty 4.1.65 and things are still kinda strange: #14695 (comment) |
Is this still an issue? |
Closing for lack of feedback |
Describe the bug
When we try to put a static file with size larger than a threshold into 'src\main\resources\META-INF\resources' folder, and enable compression using 'quarkus.http.enable-compression=true' in application.properties file, and then try to download the static file using web browser or curl, download hangs in middle of transfer. This happens when we have a dependency on undertow.
Also an exception is thrown on next hanging request (if we try to resubmit download request).
Expected behavior
We should be able to download the file completely.
Actual behavior
Download hangs in middle of transfer.
To Reproduce
code-with-quarkus.zip
Steps to reproduce the behavior:
curl http://localhost:8080/data.txt
Configuration
Add your application.properties here, if applicable.
quarkus.http.enable-compression=true
The text was updated successfully, but these errors were encountered: