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

allow remote-triggered stream resets after closing a send stream #4411

Closed
marten-seemann opened this issue Apr 3, 2024 · 0 comments · Fixed by #4419
Closed

allow remote-triggered stream resets after closing a send stream #4411

marten-seemann opened this issue Apr 3, 2024 · 0 comments · Fixed by #4419
Milestone

Comments

@marten-seemann
Copy link
Member

marten-seemann commented Apr 3, 2024

I think I understand why we made this decision back then. Take a look at the send stream states from RFC 9000:
image

It explicitly contains the transition Data Sent to Reset Sent. While it makes sense to have CancelWrite after Close a no-op (it's basically a misuse of the API, you might argue), a sender might receive a STOP_SENDING from the peer. In that case, it does make sense to send a RESET_STREAM and stop retransmitting the stream data.

Originally posted by @marten-seemann in #4404 (comment)

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

Successfully merging a pull request may close this issue.

1 participant