mirror of
https://github.com/znc/znc.git
synced 2026-07-03 16:31:49 +02:00
Added 65K of buffer while still sending packets
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@387 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ void CDCCSock::ReadData(const char* data, int len) {
|
||||
memcpy(&iRemoteSoFar, m_sSendBuf.data(), 4);
|
||||
iRemoteSoFar = ntohl(iRemoteSoFar);
|
||||
|
||||
if (iRemoteSoFar >= m_uBytesSoFar) {
|
||||
if ((iRemoteSoFar + 65536) >= m_uBytesSoFar) {
|
||||
SendPacket();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user