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

Fix #12356 Do not send keep-alive when not persistent #12375

Merged
merged 16 commits into from
Oct 15, 2024

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Oct 11, 2024

Fix #12356 Do not send keep-alive when not persistent

Fix #12356 Do not send keep-alive when not persistent
sbordet
sbordet previously approved these changes Oct 11, 2024
@joakime
Copy link
Contributor

joakime commented Oct 11, 2024

Test failure with ...

org.eclipse.jetty.server.HttpConnectionTest.testConnectionBehavior([22] HTTP/1.0, keep-alive, Other, keep-alive, Fields, Other, keep-alive, Fields)

@joakime
Copy link
Contributor

joakime commented Oct 12, 2024

Still a whole bunch of HttpClient tests failures against HTTP/1.0 that pay attention to the keep-alive fields.

@gregw
Copy link
Contributor Author

gregw commented Oct 13, 2024

@sbordet @joakime I had to make more changes to make this work. This is now feeling very fragile, so I'm going to try a bit of a clearer refactor.

gregw and others added 7 commits October 14, 2024 11:02
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
sbordet
sbordet previously approved these changes Oct 14, 2024
Copy link
Contributor

@sbordet sbordet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a few fixes, LGTM.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@gregw gregw requested a review from sbordet October 15, 2024 00:48
@gregw gregw merged commit 50bced4 into jetty-12.0.x Oct 15, 2024
10 checks passed
@gregw gregw deleted the fix/12356/noKeepAliveUnlessPersistent branch October 15, 2024 20:39
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
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

RuntimeIOException: Parser is terminated when doing lots of requests with Connection: Keep-Alive
3 participants