-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Range request doesn't work once packaged
Expected behavior
While in dev mode everything works fine thanks to FileResource, the implementation of CachedResource used once packaged lack the implementation of the method:
@Override
public void serveRangeBlocking(OutputStream outputStream, HttpServerExchange exchange, long start, long end) throws IOException {
}Actual behavior
The socket will stay there forever untile browser timeout.
To Reproduce
Steps to reproduce the behavior:
- Download the attached file beep.ogg.zip
- Create a Quarkus project and put the extracted beep.ogg in META-INF/resources
mvn install- Launche the created jar with
java -jar curl -v http://localhost:8080/beep.ogg -o /dev/null -H "Range: bytes=0-23606"
Environment (please complete the following information):
- Quarkus version or git rev: 1.5.0
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working