-
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
Fix server HTTP buffer leak in consumeAvailable()
#10428
Fix server HTTP buffer leak in consumeAvailable()
#10428
Conversation
This requires more investigation as |
Signed-off-by: Ludovic Orban <[email protected]>
…ontent.Source reader Signed-off-by: Ludovic Orban <[email protected]>
…vailable() leaves unconsumed content Signed-off-by: Ludovic Orban <[email protected]>
4f45bdd
to
58a5499
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try to find the root cause of why the buffers are leaked.
jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/HttpServerTestFixture.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/HttpServerTestFixture.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ludovic Orban <[email protected]>
When
consumeAvailable()
is called, the connection may hold onto a buffer that must be released.See #10226