diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/Runtime/Communication/TCPCommunicationLayer.cs b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/Runtime/Communication/TCPCommunicationLayer.cs index 1f96cfb7..e0185b5f 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/Runtime/Communication/TCPCommunicationLayer.cs +++ b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/Runtime/Communication/TCPCommunicationLayer.cs @@ -48,13 +48,13 @@ public TCPCommunicationLayer() public override Client CreateClient() { IPEndPoint ipEndPoint = new(IPAddress.Loopback, inPort); - return new TCPClient(ipEndPoint, connectionTimeout); + return new TCPClient(ipEndPoint, int.MaxValue); } public override Host CreateHost() { IPEndPoint ipEndPoint = new(IPAddress.Loopback, outPort); - return new TCPHost(ipEndPoint); + return new TCPHost(ipEndPoint, int.MaxValue, int.MaxValue); } public override void GetIpcSettings(out object outLocation, out object inLocation, out string assemblyLocation)