Skip to content

Commit 411e7be

Browse files
Sync shared code from runtime (#24996)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ec8eb27 commit 411e7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shared/runtime/Quic/Implementations/Mock/MockConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ internal override async ValueTask ConnectAsync(CancellationToken cancellationTok
7474
}
7575

7676
Socket socket = new Socket(_remoteEndPoint!.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
77-
await socket.ConnectAsync(_remoteEndPoint).ConfigureAwait(false);
77+
await socket.ConnectAsync(_remoteEndPoint, cancellationToken).ConfigureAwait(false);
7878
socket.NoDelay = true;
7979

8080
_localEndPoint = (IPEndPoint?)socket.LocalEndPoint;

0 commit comments

Comments
 (0)