Did something sensefull
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user