We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec8eb27 commit 411e7beCopy full SHA for 411e7be
src/Shared/runtime/Quic/Implementations/Mock/MockConnection.cs
@@ -74,7 +74,7 @@ internal override async ValueTask ConnectAsync(CancellationToken cancellationTok
74
}
75
76
Socket socket = new Socket(_remoteEndPoint!.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
77
- await socket.ConnectAsync(_remoteEndPoint).ConfigureAwait(false);
+ await socket.ConnectAsync(_remoteEndPoint, cancellationToken).ConfigureAwait(false);
78
socket.NoDelay = true;
79
80
_localEndPoint = (IPEndPoint?)socket.LocalEndPoint;
0 commit comments