Skip to content
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

Reduce ByteBuffer churning in HttpOutput #11527

Closed
sbordet opened this issue Mar 18, 2024 · 0 comments
Closed

Reduce ByteBuffer churning in HttpOutput #11527

sbordet opened this issue Mar 18, 2024 · 0 comments
Labels
Bug For general bugs on Jetty side Sponsored This issue affects a user with a commercial support agreement

Comments

@sbordet
Copy link
Contributor

sbordet commented Mar 18, 2024

Jetty version(s)
10/11

Description
When HttpOutput fails a write, its aggregation buffer may be reused: there is no reason to discard it causing ByteBuffer churn.

@sbordet sbordet added Bug For general bugs on Jetty side Sponsored This issue affects a user with a commercial support agreement labels Mar 18, 2024
sbordet added a commit that referenced this issue Mar 18, 2024
Now releasing the buffer back into the pool.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side Sponsored This issue affects a user with a commercial support agreement
Projects
None yet
Development

No branches or pull requests

1 participant