Skip to content

HTTP interface client should not have blockingTimeout set and leave it to the underlying client by default #30403

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

Conversation

OlgaMaciaszek
Copy link
Contributor

Fixes gh-30248.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 30, 2023
@rstoyanchev rstoyanchev self-assigned this May 2, 2023
@rstoyanchev rstoyanchev added the type: enhancement A general enhancement label May 2, 2023
@rstoyanchev rstoyanchev added this to the 6.1.0-M1 milestone May 2, 2023
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 2, 2023
@rstoyanchev rstoyanchev changed the title Remove default block timeout HTTP interface client should not have blockingTimeout set and leave it to the underlying client by default May 2, 2023
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.

Overall, looks good.

We just need to expand on the documentation a bit. It's not that we block without a timeout, but rather we defer to the underlying client, which is in a better position to provide more control over timeout, e.g. connecting vs request handling, etc. So the blockingTimeout at our level is a higher level convenience, but without any settings out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
3 participants