-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
h3: prevent multiple calls to send_response | send_response_with_prio…
…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.
- Loading branch information
Showing
1 changed file
with
125 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters