-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support h2 stream resets through user events (#241)
Allow applications to trigger HTTP/2 stream resets while using NIOHTTPTypesHTTP2's codecs ### Motivation: Resetting streams with specific error codes is required by some applications such as those implementing the CONNECT method (see https://datatracker.ietf.org/doc/html/rfc9113#section-8.5-8). Unfortunately, the HTTP2ToHTTP codecs don't expose this capability to applications. ### Modifications: Introduce an outbound user event applications can trigger when needing to reset an HTTP/2 stream. ### Result: Now applications can trigger HTTP/2 stream resets while using the codecs provided by NIOHTTPTypesHTTP2
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 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