1
This commit is contained in:
parent
29e74d78f8
commit
a87779569d
@ -136,7 +136,7 @@ namespace a8
|
||||
std::string response = "HTTP/1.1 101 Web Socket Protocol Handshake\r\n"
|
||||
"Upgrade: websocket\r\n"
|
||||
"Connection: Upgrade\r\n"
|
||||
+ key + hash_data + "\r\n" +
|
||||
+ std::string(key) + hash_data + "\r\n" +
|
||||
"\r\n";
|
||||
SendBuff(response.data(), response.size());
|
||||
handshook_ = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user