remove session in thread

git-svn-id: svn://elaine/murooma/trunk@332 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-12-30 09:09:24 +00:00
parent 7a5483a101
commit b26952f5d1
2 changed files with 5 additions and 2 deletions

View file

@ -128,6 +128,7 @@ int main(int argc, char* argv[])
do
{
int count = read(fd, chunk->payload + len, toRead - len);
//continue;
if (count == 0)
throw ServerException("count = 0");
else if (count == -1)