unmasked code is broken
This commit is contained in:
parent
bc89580dfe
commit
7614b642bb
@ -124,7 +124,9 @@ namespace ix
|
|||||||
// Server
|
// Server
|
||||||
WebSocketInitResult WebSocketTransport::connectToSocket(int fd, int timeoutSecs)
|
WebSocketInitResult WebSocketTransport::connectToSocket(int fd, int timeoutSecs)
|
||||||
{
|
{
|
||||||
_useMask = false;
|
// Server should not mask the data it sends to the client (with _useMask = false)
|
||||||
|
// However our unmasked code is broken right now for some reason, so disabling this.
|
||||||
|
_useMask = true;
|
||||||
|
|
||||||
std::string errorMsg;
|
std::string errorMsg;
|
||||||
_socket = createSocket(fd, errorMsg);
|
_socket = createSocket(fd, errorMsg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user