Did something sensefull

This commit is contained in:
Johannes Wendel
2019-10-30 23:14:50 +01:00
parent 75c51c6294
commit e44345f800

View File

@@ -29,7 +29,9 @@ InputSocketHandler::InputSocketHandler(StreamSocket streamSocket, std::shared_pt
void InputSocketHandler::run() void InputSocketHandler::run()
{ {
while(this->socket().poll(100, Poco::Net::Socket::SelectMode::SELECT_ERROR)) //todo should ne closed when connection is closed
// while(this->socket().poll(100, Poco::Net::Socket::SelectMode::SELECT_ERROR))
while(true)
{ {
Event event = this->queue.pop(); Event event = this->queue.pop();