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

Fixes #5152 - HttpClient should handle unsolicited responses. #5166

Merged
merged 1 commit into from Aug 26, 2020

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Aug 18, 2020

Now closing the connection if an unsolicited response is detected,
no matter what response status code, or whether it has a
Connection: close header, or whether it's just random bytes from
the server, and also no matter whether the client read -1.

Signed-off-by: Simone Bordet simone.bordet@gmail.com

Now closing the connection if an unsolicited response is detected,
no matter what response status code, or whether it has a
Connection: close header, or whether it's just random bytes from
the server, and also no matter whether the client read -1.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet requested a review from gregw August 18, 2020 10:20
@sbordet sbordet linked an issue Aug 18, 2020 that may be closed by this pull request
@sbordet sbordet added this to In progress in Jetty 9.4.32 via automation Aug 18, 2020
Jetty 9.4.32 automation moved this from In progress to Reviewer approved Aug 25, 2020
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

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

LGTM, but CI is failing?

@sbordet
Copy link
Contributor Author

sbordet commented Aug 25, 2020

@gregw CI is green at build 3, and 4 is building right now... where do you see the failure?

@gregw
Copy link
Contributor

gregw commented Aug 25, 2020

@sbordet I just see a red cross on this page. I didn't follow the Details link.... which if I do takes me to 1 test failure: https://jenkins.webtide.net/blue/organizations/jenkins/jetty.project/detail/PR-5166/4/tests

@sbordet sbordet merged commit 7cf6058 into jetty-9.4.x Aug 26, 2020
Jetty 9.4.32 automation moved this from Reviewer approved to Done Aug 26, 2020
@sbordet sbordet deleted the jetty-9.4.x-5152-handle_unsolicited_response branch August 26, 2020 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Jetty 9.4.32
  
Done
Development

Successfully merging this pull request may close these issues.

HttpClient should handle unsolicited responses
2 participants