We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f6a6f commit dbde506Copy full SHA for dbde506
include/internal/WebSocketProtocol.h
@@ -62,7 +62,7 @@ namespace SL {
62
write(parent, socket, msg.msg);
63
//update the socket status to reflect it is closing to prevent other messages from being sent.. this is the last valid message
64
//make sure to do this after a call to write so the write process sends the close message, but no others
65
- if (msg.code == OpCode::CLOSE) {
+ if (msg.msg.code == OpCode::CLOSE) {
66
socket->SocketStatus_ = SocketStatus::CLOSING;
67
}
68
0 commit comments