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

HTTPCORE-769- Add Configurable Behavior for Handling 408 Responses in DefaultConnectionReuseStrategy #488

Closed
wants to merge 1 commit into from

Conversation

arturobernalg
Copy link
Member

This pull request introduces a change to the ´DefaultConnectionReuseStrategy´ class, allowing for more flexible handling of HTTP 408 (Request Timeout) responses. A new boolean parameter, ´forceCloseOn408´, has been added to make the connection reuse behavior configurable.

…n DefaultConnectionReuseStrategy.

This change addresses scenarios where a server sends a 408 response without the "Connection: close" header, allowing clients to choose whether to close the connection as per RFC recommendations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant