mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-18 09:13:14 +00:00
Updated compression statistics
This commit is contained in:
@@ -3938,7 +3938,14 @@ ILibTransport_DoneState ILibDuktape_httpStream_webSocket_WriteWebSocketPacket(IL
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
state->actualSent += ((uint64_t)headerLen + (uint64_t)bufferLen);
|
state->actualSent += ((uint64_t)headerLen + (uint64_t)bufferLen);
|
||||||
if (compressedBuffer != NULL) { ILibMemory_Free(compressedBuffer); }
|
if (compressedBuffer != NULL)
|
||||||
|
{
|
||||||
|
ILibMemory_Free(compressedBuffer);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
state->uncompressedSent += ((uint64_t)bufferLen + (uint64_t)headerLen);
|
||||||
|
}
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
ILibTransport_DoneState ILibDuktape_httpStream_webSocket_EncodedWriteSink_DispatchUnshift(ILibDuktape_DuplexStream *stream, char *buffer, int bufferLen)
|
ILibTransport_DoneState ILibDuktape_httpStream_webSocket_EncodedWriteSink_DispatchUnshift(ILibDuktape_DuplexStream *stream, char *buffer, int bufferLen)
|
||||||
|
|||||||
Reference in New Issue
Block a user