HTTP3: Fix issue with GOAWAY handling and implement graceful shutdown logic in Http3L...
authorGeoff Kizer <geoffrek@microsoft.com>
Sat, 24 Jul 2021 21:06:10 +0000 (14:06 -0700)
committerGitHub <noreply@github.com>
Sat, 24 Jul 2021 21:06:10 +0000 (14:06 -0700)
commit4be9cb30b0f32e804c86ec903e83d1c989b9d8b1
tree7ad6757638112a062068f8a306091d94faaf7153
parent7d30da68a91d1cced11a0302cc7a8aa9a0ea9af1
HTTP3: Fix issue with GOAWAY handling and implement graceful shutdown logic in Http3LoopbackServer (#56134)

* add IsMockProvider/IsMsQuicProvider on QuicTestBase

* add tests for AcceptStreamAsync and Open*Stream when/after the connection is closed/disposed, and related product fixes

* fix issue with GOAWAY handling and add graceful shutdown logic to Http3LoopbackConnection

* PR feedback

Co-authored-by: Geoffrey Kizer <geoffrek@windows.microsoft.com>
src/libraries/Common/tests/System/Net/Http/Http3LoopbackConnection.cs
src/libraries/Common/tests/System/Net/Http/Http3LoopbackStream.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/Mock/MockConnection.cs
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/Mock/MockStream.cs
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicConnectionTests.cs
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs