From bd4dcdbaa24a1f37e4cfe47b2545ca501741be2e Mon Sep 17 00:00:00 2001 From: wujun <8400684@qq.com> Date: Mon, 16 Dec 2024 15:40:37 +0800 Subject: [PATCH] Fixed a NullReferenceException when creating a connection using a proxy connection --- src/SuperSocket.Client.Proxy/ProxyConnectorBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SuperSocket.Client.Proxy/ProxyConnectorBase.cs b/src/SuperSocket.Client.Proxy/ProxyConnectorBase.cs index a9921fcc7..ee516c717 100644 --- a/src/SuperSocket.Client.Proxy/ProxyConnectorBase.cs +++ b/src/SuperSocket.Client.Proxy/ProxyConnectorBase.cs @@ -46,7 +46,7 @@ protected override async ValueTask ConnectAsync(EndPoint remoteEnd }; } - return await ConnectProxyAsync(remoteEndPoint, state, cancellationToken); + return await ConnectProxyAsync(remoteEndPoint, result, cancellationToken); } } } \ No newline at end of file