From 1bd3297055ea2b4a9139d474ccb5c241d5a9fc1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lepin?= Date: Fri, 26 Apr 2019 13:55:21 +0200 Subject: [PATCH] server: update comment --- src/WSServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WSServer.cpp b/src/WSServer.cpp index 15fa0afd..c4727466 100644 --- a/src/WSServer.cpp +++ b/src/WSServer.cpp @@ -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(); });