-
Notifications
You must be signed in to change notification settings - Fork 147
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
Streaming large Downloads without Content-length when using AJP produces OutOfMemory #21552
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented The included change is very similar to this: https://github.com/GrizzlyNIO/grizzly-mirror/commit/6c08805499f7c6b64c3c8806a71f0b58b52c960b |
@glassfishrobot Commented |
@rlubke Commented |
|
When streaming large (> 100MB) downloads without Content-Length via mod_ajp to Apache, OutOfMemoryErrors occur.
Stacktrace:
The problem is also described here: payara/Payara#350
The fix provided in this issue https://java.net/jira/browse/GLASSFISH-21202 doesn't help here. The root cause for the problem is, that in the class AjpHttpRequest the chunking isn't enabled, therefore the response is buffered completely.
Affected Versions
[4.1]
The text was updated successfully, but these errors were encountered: