Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into connectiondispose
  • Loading branch information
geoffkizer authored Jul 14, 2021
commit faf5e3a7b15fc706cb3e1fd6ab5b8f05e19d2cdb
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,19 @@ await new[]
{
using QuicConnection serverConnection = await listener.AcceptConnectionAsync();
await serverFunction(serverConnection);
serverFinished.Set();
clientFinished.Wait();

serverFinished.Release();
await clientFinished.WaitAsync();
await serverConnection.CloseAsync(ServerCloseErrorCode);
}),
Task.Run(async () =>
{
using QuicConnection clientConnection = CreateQuicConnection(listener.ListenEndPoint);
await clientConnection.ConnectAsync();
await clientFunction(clientConnection);
clientFinished.Set();
serverFinished.Wait();

clientFinished.Release();
await serverFinished.WaitAsync();
await clientConnection.CloseAsync(ClientCloseErrorCode);
})
}.WhenAllOrAnyFailed(millisecondsTimeout);
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.