mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
SimpleWebTransport fix ssl handshake (#2689)
This fixes the handshake for reverse proxy use
This commit is contained in:
parent
8ef84791be
commit
6db8e4a929
@ -32,7 +32,7 @@ public bool TryHandshake(Connection conn, Uri uri)
|
||||
|
||||
string expectedResponse = Convert.ToBase64String(keySumHash);
|
||||
string handshake =
|
||||
$"GET /chat HTTP/1.1\r\n" +
|
||||
$"GET {uri.PathAndQuery} HTTP/1.1\r\n" +
|
||||
$"Host: {uri.Host}:{uri.Port}\r\n" +
|
||||
$"Upgrade: websocket\r\n" +
|
||||
$"Connection: Upgrade\r\n" +
|
||||
|
Loading…
Reference in New Issue
Block a user