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

No way to determine if the server reset the stream #617

Closed
bruceg opened this issue May 18, 2022 · 1 comment · Fixed by #618
Closed

No way to determine if the server reset the stream #617

bruceg opened this issue May 18, 2022 · 1 comment · Fixed by #618

Comments

@bruceg
Copy link
Contributor

bruceg commented May 18, 2022

When a server (GCP Pub/Sub in my case) sends a reset frame, h2 reports it as a status with Kind::Reset. However, there is no direct way of testing if the status was a reset, analogous to is_go_away or is_io.

If an is_reset function would be an acceptable solution, I can provide a PR for this.

@seanmonstar
Copy link
Member

Yea that's probably just an oversight, I can't think of any reason it wouldn't exist.

This issue was closed.
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 a pull request may close this issue.

2 participants