msghandler tweak
@@ -1913,12 +1913,9 @@ void ThreadMessageHandler2(void* parg)
if (!ProcessMessages(pnode))
pnode->CloseSocketDisconnect();
- if (pnode->nSendSize < SendBufferSize())
- {
if (!pnode->vRecvGetData.empty() || (!pnode->vRecvMsg.empty() && pnode->vRecvMsg[0].complete()))
{
- fSleep = false;
- }
+ fSleep = false; // don't sleep, we have work to do!
}
}
}
