Skip to content

Commit

Permalink
[QUIC] Make sure that we get the RECEIVE before connection close (#10…
Browse files Browse the repository at this point in the history
  • Loading branch information
liveans authored Mar 21, 2024
1 parent 503608b commit ac07ea6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,8 @@ await RunClientServer(
serverSem.Release();
await clientSem.WaitAsync();
var _ = await stream.ReadAsync(new byte[0]);
if (closeServer)
{
expectedError = QuicError.OperationAborted;
Expand Down Expand Up @@ -1282,6 +1284,8 @@ await RunClientServer(
clientSem.Release();
await serverSem.WaitAsync();
var _ = await stream.ReadAsync(new byte[0]);
if (!closeServer)
{
expectedError = QuicError.OperationAborted;
Expand Down

0 comments on commit ac07ea6

Please sign in to comment.