forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HTTP/3] Support for HTTP/3 multiple connections (dotnet#101531)
* QuicConnection StreamsAvailable properties and event handler * EnableHttp3MultipleConnections property * H3 connection pool * Fixed unused methods. * Update src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs Co-authored-by: Radek Zikmund <[email protected]> * Fix release reserved stream count once it's opened. * Available streams count is thread safe * Move StreamsAvailable callback into connection options, remove count properties * HTTP adjustments to StreamsAvailable callback in options * Comments about multiple connections, including mention of being against RFC * Miha's Feedback: H/3 authority evaluation, user callback try-catch * Fix releasing stream * Added logging for stream counts * Fix stream counting in case of open stream failure * Feedback * Renamed API according to review feedback * Renamed API according to review feedback * More renames; Stored Action callback feedback * Fixed borked platform guard * Use the cached delegate 🤦 * Easy feedback * Generated ref source * SupportedOS ordering, because I cannot stand it different * Idle connection back where it was * Assert * Fix handling negative stream capacity and 0 reporting STREAMS_AVAILABLE * Handling cummulative increments, canceled streams and more tests. * Removed logging --------- Co-authored-by: Radek Zikmund <[email protected]>
- Loading branch information
Showing
22 changed files
with
1,079 additions
and
147 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
573 changes: 492 additions & 81 deletions
573
...et.Http/src/System/Net/Http/SocketsHttpHandler/ConnectionPool/HttpConnectionPool.Http3.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.