mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 03:47:53 +08:00
Merge branch 'github-upstream-master' into gitee-master
This commit is contained in:
commit
af7a956599
@ -214,7 +214,7 @@ void run(void) {
|
|||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
acl::socket_stream* conn = server.accept(); // Wait for connection.
|
acl::socket_stream* conn = server.accept(); // Wait for connection.
|
||||||
if (conn == NULl) {
|
if (conn == NULL) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
std::thread thread([=] { // Start one thread to handle the connection.
|
std::thread thread([=] { // Start one thread to handle the connection.
|
||||||
|
Loading…
Reference in New Issue
Block a user