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

RestClientException should not be considered as client disconnected exception #34269

Closed
wants to merge 2 commits into from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Jan 16, 2025

Fix GH-34264

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 16, 2025
…xception

Fix spring-projectsGH-34264

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
Copy link
Contributor

@rstoyanchev rstoyanchev left a comment

Choose a reason for hiding this comment

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

Thanks for the suggestion, but we'll take a different approach as mentioned in my comment on the issue. We do need to keep out of the box handling of disconnected client errors, but should keep out network issues from onward connections to other servers. I have The change also introduces a package cycle.

@rstoyanchev rstoyanchev added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connection reset exception from RestTemplate call in Spring Web MVC controller is ignored
3 participants