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

Improve buffer management of HTTP/1 response headers #12670

Open
sbordet opened this issue Jan 4, 2025 · 0 comments
Open

Improve buffer management of HTTP/1 response headers #12670

sbordet opened this issue Jan 4, 2025 · 0 comments
Assignees
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 Jan 4, 2025

Jetty version(s)
12.0.x

Description
After #12351, the server-side allocates the response headers using HttpConfiguration.responseHeaderSize.

However, #12544 introduced a more dynamic mechanism on the client-side where the generation of response headers is first tried with responseHeaderSize and in case of overflow, re-tried with maxResponseHeaderSize.

A similar mechanism should be added to the server-side.

@sbordet sbordet added the Bug For general bugs on Jetty side label Jan 4, 2025
@sbordet sbordet self-assigned this Jan 4, 2025
@sbordet sbordet added the Sponsored This issue affects a user with a commercial support agreement label Jan 4, 2025
wendigo added a commit to airlift/airlift that referenced this issue Jan 5, 2025
wendigo added a commit to airlift/airlift that referenced this issue Jan 5, 2025
wendigo added a commit to airlift/airlift that referenced this issue Jan 7, 2025
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
Status: No status
Development

No branches or pull requests

1 participant