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

fix(h2_connection_reset): add stream reset when client cancel the req… #944

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MarkLux
Copy link

@MarkLux MarkLux commented Aug 19, 2024

Summary

add the missing connection reset of h2 connection when client cancel the request.

fix #943

in discussion with #941

Copy link
Member

@tomchristie tomchristie left a comment

Choose a reason for hiding this comment

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

Thanks, seems like a good start. Make sure to run scripts/unasync.py to also apply the changes to the httpcore/_sync/http2.py module.

https://github.com/encode/httpcore/actions/runs/10464774808/job/28978912844#step:5:26

(Related... maybe we could change the build logs when unasync --check fails, so that there's clearer feedback to the developer.)

@MarkLux MarkLux force-pushed the fix/h2_connection_reset branch 4 times, most recently from 46031e9 to 5997901 Compare September 4, 2024 06:41
httpcore/_async/http2.py Outdated Show resolved Hide resolved
@MarkLux MarkLux force-pushed the fix/h2_connection_reset branch 3 times, most recently from af2e7e4 to c061e4f Compare September 4, 2024 08:15
@MarkLux
Copy link
Author

MarkLux commented Sep 11, 2024

sorry to bother but we are really in a hurry to fix this one, could you have a review again? @tomchristie

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.

Missing client stream reset in h2 connection
2 participants