-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ResourceHandler cannot handle files over 2GB in size. #12680
Comments
I added a testcase to branch See commit 1fa8f95 |
Also of note, the response has no I chose |
Testing on See branch
|
The 12.0.x branch is working fine. I updated the testcase to not use LocalConnector due to the size of the response. (see commit eba500a) The 12.1.x branch is still broken. |
Signed-off-by: Ludovic Orban <[email protected]>
Signed-off-by: Ludovic Orban <[email protected]>
Signed-off-by: Ludovic Orban <[email protected]>
Signed-off-by: Ludovic Orban <[email protected]>
Jetty version(s)
12.1.0.alpha1
Jetty Environment
core
Java version/vendor
(use: java -version)
OS type/version
Linux / Ubuntu
Description
When using ResourceHandler from jetty core (no environment), and attempting to serve a file over 2GB in size, the size is truncated to exactly 2GB in size, the rest of the bytes are not even attempted to be sent.
The Resource Base Directory
Request
Response
Notice that the file on disk is 10 bytes larger than 2GB, but those last 10 bytes are not sent.
The text was updated successfully, but these errors were encountered: