Skip to content

Commit 4bccdfc

Browse files
committed
fix protocol hack
1 parent 0c38eed commit 4bccdfc

File tree

1 file changed

+2
-0
lines changed
  • UnityWebSocket/Assets/Scripts/Plugins/UnityWebSocket

1 file changed

+2
-0
lines changed

UnityWebSocket/Assets/Scripts/Plugins/UnityWebSocket/WebSocket.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ public WebSocket(string address)
196196
if (onMessage != null)
197197
onMessage(this, new MessageEventArgs((Opcode)e.Opcode, e.RawData));
198198
};
199+
200+
m_rawSocket.SslConfiguration.EnabledSslProtocols = (System.Security.Authentication.SslProtocols)((int)m_rawSocket.SslConfiguration.EnabledSslProtocols | 192 | 768 | 3072);
199201
}
200202

201203
/// <summary>

0 commit comments

Comments
 (0)