a problem for brotli working on-the-fly #113

Open
opened 2026-01-29 20:35:32 +00:00 by claunia · 0 comments
Owner

Originally created by @RenterRen on GitHub (May 27, 2016).

In my scene, I will not finish compressing when I run my program. so,BrotliCompressor object is only one. And on the client, I call the BrotliStateInit(&s) just for once.
So, like this:
while(1)
{
I read 500 bytes to compress------->send to the client--->client decompress the data---->
}
after client decompress the data, the decompressed data is not 500, sometimes,it may be 200, sometimes,it may be 800, How can I resolve the problem?

Originally created by @RenterRen on GitHub (May 27, 2016). In my scene, I will not finish compressing when I run my program. so,BrotliCompressor object is only one. And on the client, I call the BrotliStateInit(&s) just for once. So, like this: while(1) { I read 500 bytes to compress------->send to the client--->client decompress the data----> } after client decompress the data, the decompressed data is not 500, sometimes,it may be 200, sometimes,it may be 800, How can I resolve the problem?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#113