server deadlock fix #2
This commit is contained in:
parent
8d596619e7
commit
4f97db62d7
1 changed files with 2 additions and 0 deletions
|
@ -206,7 +206,9 @@ void ServerSocketInterface::flushOutputQueue()
|
|||
totalBytes += size + 4;
|
||||
locker.relock();
|
||||
}
|
||||
locker.unlock();
|
||||
servatrice->incTxBytes(totalBytes);
|
||||
// see above wrt mutex
|
||||
socket->flush();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue