websocket and http server: server does not close the bound client socket in many cases

This commit is contained in:
Benjamin Sergeant
2019-09-09 16:48:26 -07:00
parent 7080c5679f
commit fb271953f7
5 changed files with 10 additions and 3 deletions

View File

@ -95,6 +95,7 @@ namespace ix
}
}
connectionState->setTerminated();
Socket::closeSocket(fd);
_connectedClientsCount--;
}