#1315 parse websocket msg len for correct data (#1316)

closes #1315
This commit is contained in:
Scott Fennell
2022-07-27 08:40:40 -05:00
committed by GitHub
parent 61a378553d
commit 2dd12fcbb6
8 changed files with 11 additions and 9 deletions

View File

@ -73,7 +73,7 @@ void VariableServerSession::sendMessage() {
}
// Base class virtual function.
int VariableServerSession::handleMessage(std::string client_msg) {
int VariableServerSession::handleMessage(const std::string& client_msg) {
int status = 0;
std::vector<Member*> members = parseJSON(client_msg.c_str());