You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple webserver serving static content. If I add compression, Chrome and Safari (browsers I tested with) hang waiting for a response.
Environment Details
Helidon Version: 4.0.0
Helidon SE or Helidon MP: SE
JDK version: 21
OS: macOS Ventura 13.6.1
Docker version (if applicable): NA
Problem Description
I have a simple webserver serving static content.
If I serve files without compression everything works as expected.
If I include compression as per documentation, by adding gzip, deflate, or both, Chrome and Safari hang waiting for a response.
The problem is easily reproducible and happens every time.
No exceptions are thrown.
And these are the Gradle dependencies for Helidon:
api(platform("io.helidon:helidon-dependencies:4.0.0"))
api("io.helidon.webserver:helidon-webserver")
api("io.helidon.webserver:helidon-webserver-http2")
api("io.helidon.webserver:helidon-webserver-static-content")
api("io.helidon.webserver:helidon-webserver-cors")
api("io.helidon.webserver:helidon-webserver-websocket")
// If the following two lines are commented out, webserver responds normally.
api("io.helidon.http.encoding:helidon-http-encoding-gzip")
api("io.helidon.http.encoding:helidon-http-encoding-deflate")
I have a simple webserver serving static content. If I add compression, Chrome and Safari (browsers I tested with) hang waiting for a response.
Environment Details
Problem Description
I have a simple webserver serving static content.
If I serve files without compression everything works as expected.
If I include compression as per documentation, by adding gzip, deflate, or both, Chrome and Safari hang waiting for a response.
The problem is easily reproducible and happens every time.
No exceptions are thrown.
Steps to reproduce
This is the webserver:
And these are the Gradle dependencies for Helidon:
Visit the website with Chrome, url: http://localhost:60000/
Chrome waits for ever.
Commenting both gzip and deflate dependencies, allows the server to reply normally, without compression of course.
The text was updated successfully, but these errors were encountered: