Skip to content

Add HTTPResponse.shutdown() to stop blocking reads #3527

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

Merged
merged 16 commits into from
Dec 21, 2024

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Dec 13, 2024

Closes #2868

There was a first round of review in pquentin#27

This pull request is sponsored by LaunchDarkly. Thank you!

Copy link
Member

@illia-v illia-v left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you, Quentin

@pquentin
Copy link
Member Author

Thank you for the extensive review! Drastically improved the pull request.

@pquentin pquentin merged commit f7bcf69 into urllib3:main Dec 21, 2024
36 checks passed
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.

trying to close a response hangs if a blocking read is happening on another thread
2 participants