-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[h3] Adapt datagram API for RFC 9297 (fixes: #420)
Our HTTP/3 code dealing with datagrams dates back to before RFC 9297 was published. This is reflected in the the use of the `flow_id` terminology which no longer exists. Update the following interfaces: - `DatagramReceived` now has a `stream_id` attribute instead of `flow_id`. - `H3Connection.send_datagram` now has a `stream_id` argument instead of `flow_id` Encoding and decoding to / from quarter stream ID is handled by the connection, so the user does not need to multiply or divide by four.
- Loading branch information
Showing
5 changed files
with
37 additions
and
24 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
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
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
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
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