https://bz.apache.org/bugzilla/show_bug.cgi?id=69591
--- Comment #21 from Yann Ylavic <[email protected]> --- You didn't show us the full algorithm so it's quite hard to figure out the issue, but it seems to me that the accompanying metadata for each chunk are: metadata | length ---------- | ------- hex digits | max(ceil(log2(strlen(chunk))/4), 1) \r\n | 2 bytes (after the chubk size) \r\n | 2 bytes (after the chunk data) So for a chunk of 4MB that's 6 + 2 + 2 and your code snippet should use "BUFSIZE_CHUNKED - 10" ? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
