.reference

git-svn-id: svn://ultimatepp.org/upp/trunk@11338 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-09-21 16:47:34 +00:00
parent 6ce89b3764
commit ec50aea5d4
4 changed files with 3 additions and 16 deletions

View file

@ -66,10 +66,11 @@ CONSOLE_APP_MAIN
LOG("WebSocket closed, current count: " << worker.GetCount());
}
}
if(sel[0])
if(sel[0]) {
if(!worker.Add().ws.NonBlocking().Accept(server))
worker.Drop();
else
LOG("WebSocket accepted, current count: " << worker.GetCount());
}
}
}