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

h3: prevent multiple calls to send_response | send_response_with_priority #1857

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

LPardue
Copy link
Contributor

@LPardue LPardue commented Oct 1, 2024

We recently added the send_additional_headers() method to support sending
mupltiple HEADERS for a single request or response. However, it remained
possible to call send_response() or send_response_with_priority()
multiple times for the same stream ID, which is now unintuitive.

This change enforces that send_response() or send_response_with_priority()
can only be called once per stream.

…rity

We recently added the `send_additional_headers()` method to support sending
mupltiple HEADERS for a single request or response. However, it remained
possible to call `send_response()` or `send_response_with_priority()`
multiple times for the same stream ID, which is now unintuitive.

This change enforces that `send_response()` or `send_response_with_priority()`
can only be called once per stream.
@LPardue LPardue requested a review from a team as a code owner October 1, 2024 01:55
@ghedo ghedo merged commit 04bacb0 into master Oct 2, 2024
39 checks passed
@ghedo ghedo deleted the prevent-multiple-send-response branch October 2, 2024 09:56
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 this pull request may close these issues.

2 participants