Skip to content

Commit 9f02edc

Browse files
committed
remove keepalive code, fix bugs
1 parent 6a15632 commit 9f02edc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Assets/UnityWebSocket/Scripts/Runtime/Core/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public static class Settings
77
public const string QQ_GROUP_LINK = "https://qm.qq.com/cgi-bin/qm/qr?k=KcexYJ9aYwogFXbj2aN0XHH5b2G7ICmd";
88
public const string EMAIL = "[email protected]";
99
public const string AUHTOR = "psygames";
10-
public const string VERSION = "2.6.5";
10+
public const string VERSION = "2.6.6";
1111
}
1212
}

Assets/UnityWebSocket/Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ public void ConnectAsync()
7474
return;
7575
}
7676
socket = new ClientWebSocket();
77-
// Keep Alive Always
78-
socket.Options.KeepAliveInterval = TimeSpan.Zero;
7977
if (this.SubProtocols != null)
8078
{
8179
foreach (var protocol in this.SubProtocols)

0 commit comments

Comments
 (0)