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

Complete H2 reset promise as soon as the reset frame has been sent #5417

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

vietj
Copy link
Member

@vietj vietj commented Dec 10, 2024

Motivation:

The recent changes in HTTP reset API introduced a returned future to signal when the stream reset is performed. The implementation completes the future when the stream reset has been written, instead we should complete it as soon as the frame is written.

Changes:

Complete the H2 reset future after the reset frame has been written.

@vietj vietj added this to the 5.0.0 milestone Dec 10, 2024
@vietj vietj added the bug label Dec 10, 2024
@vietj vietj self-assigned this Dec 10, 2024
Motivation:

The recent changes in HTTP reset API introduced a returned future to signal when the stream reset is performed. The implementation completes the future when the stream reset has been written, instead we should complete it as soon as the frame is written.

Changes:

Complete the H2 reset future after the reset frame has been written.
@vietj vietj force-pushed the early-complete-reset-future branch from 6f6e5ab to c55870b Compare December 10, 2024 09:43
@vietj vietj merged commit 226d06b into master Dec 10, 2024
8 checks passed
@vietj vietj deleted the early-complete-reset-future branch December 10, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant