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

HTTP/2 client queued writes should fail when stream creation fails. #5501

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

vietj
Copy link
Member

@vietj vietj commented Mar 4, 2025

Motivation:

HTTP/2 client queues writes when the stream has an asynchronous boundary. When the stream creation fails, the failure should be recorded so that queued writes can be guarded against the failure.

Changes:

Record stream creation failure, when a delayed writes observes the failure, the write operation should be failed and not proceed further.

Motivation:

HTTP/2 client queues writes when the stream has an asynchronous boundary. When the stream creation fails, the failure should be recorded so that queued writes can be guarded against the failure.

Changes:

Record stream creation failure, when a delayed writes observes the failure, the write operation should be failed and not proceed further.
@vietj vietj added this to the 4.5.14 milestone Mar 4, 2025
@vietj vietj added the bug label Mar 4, 2025
@vietj vietj self-assigned this Mar 4, 2025
@vietj vietj merged commit e612c87 into 4.x Mar 4, 2025
7 checks passed
@vietj vietj deleted the http2-client-delayed-writes branch March 4, 2025 15:52
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.

Http2ClientConnection attempts to write to a null stream when write queued
1 participant