fix: update WebSocketNodeSocket in protocol

This commit is contained in:
Joe Previte 2021-02-26 12:54:29 -07:00
parent 22e7173fa9
commit 52acb50ed7
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -17,7 +17,7 @@ export class Protocol extends PersistentProtocol {
super(
options.skipWebSocketFrames
? new NodeSocket(socket)
: new WebSocketNodeSocket(new NodeSocket(socket)),
: new WebSocketNodeSocket(new NodeSocket(socket), false, null, false),
);
}