mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
server: update comment
This commit is contained in:
parent
6a10662bc4
commit
1bd3297055
@ -182,10 +182,10 @@ void WSServer::onMessage(connection_hdl hdl, server::message_ptr message)
|
||||
_server.send(hdl, response, websocketpp::frame::opcode::text);
|
||||
|
||||
locker.relock();
|
||||
// In multithreaded processing this would be problematic to put back
|
||||
// In multithreaded processing this is be problematic to put back
|
||||
// a copy of the connection properties, because there might conflicts
|
||||
// between several simultaneous handlers.
|
||||
// In our case, it's fine because all messages are processed in one thread.
|
||||
// TODO conflicts handling
|
||||
_connectionProperties[hdl] = connProperties;
|
||||
locker.unlock();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user