-
Notifications
You must be signed in to change notification settings - Fork 102
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
h2: poll ready before using #997
Conversation
This is "required" per the docs. I don't think it really is, but good to be safe and follow the docs
@@ -258,6 +258,9 @@ impl H2ConnectClient { | |||
&mut self, | |||
req: Request<()>, | |||
) -> Result<(SendStream<SendBuf>, h2::RecvStream), Error> { | |||
// "This function must return `Ready` before `send_request` is called" | |||
// We should always be ready though, because we make sure we don't go over the max stream limit out of band. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I saw this in the docs at some point but didn't check if we were doing this in the DIY client.
Better to be correct.
/retest flake is fixed in another pr |
/retest |
In response to a cherrypick label: #997 failed to apply on top of branch "release-1.22":
|
In response to a cherrypick label: new issue created for failed cherrypick: #999 |
This is "required" per the docs. I don't think it really is, but good to be safe and follow the docs (cherry picked from commit faa4f23)
This is "required" per the docs. I don't think it really is, but good to
be safe and follow the docs