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 RST_STREAM is sent twice after timeout for the same stream #7913

Open
danielkec opened this issue Jun 28, 2023 · 4 comments
Open

HTTP/2 RST_STREAM is sent twice after timeout for the same stream #7913

danielkec opened this issue Jun 28, 2023 · 4 comments
Labels
bug Bug in existing code

Comments

@danielkec
Copy link

danielkec commented Jun 28, 2023

okhttp client sends h2 RST_STREAM twice after timeout for the same stream. That is prohibited by the spec:

RFC 9113 §5.1
A stream also enters the "closed" state after an endpoint either sends or receives a RST_STREAM frame.
...
An endpoint MUST NOT send frames other than PRIORITY on a closed stream.

Reproducer:
https://github.com/danielkec/okrepro

image

@danielkec
Copy link
Author

Probably a duplicate of #6171

@yschimke
Copy link
Collaborator

The repro is really useful, thanks. I'll take a look on the weekend.

@yschimke
Copy link
Collaborator

yschimke commented Jul 1, 2023

3.14.1 is no longer a supported version. You should use 4.11.0 if you want a supported version. I'll verify your current test using 4.11.0.

@MdEmon001

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in existing code
Projects
None yet
Development

No branches or pull requests

3 participants