mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
SWT ClientHandshake - fixed error
This commit is contained in:
parent
7ad18a247c
commit
494f6b342c
@ -60,7 +60,7 @@ public bool TryHandshake(Connection conn, Uri uri)
|
||||
Log.Verbose($"[SimpleWebTransport] Handshake Response {responseString}");
|
||||
|
||||
string acceptHeader = "Sec-WebSocket-Accept: ";
|
||||
int startIndex = responseString.IndexOf(acceptHeader, StringComparison.InvariantCultureIgnoreCase) + acceptHeader.Length;
|
||||
int startIndex = responseString.IndexOf(acceptHeader, StringComparison.InvariantCultureIgnoreCase);
|
||||
|
||||
if (startIndex < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user