Displaying 2 results from an estimated 2 matches for "r_inflat".
Did you mean:
_inflate
2015 Apr 14
2
[Bug 11215] New: compression/zlib errors discard the zlib error message
...en.c(557)
[receiver=3.1.0]
rsync: connection unexpectedly closed (59265966 bytes received so far)
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
[generator=3.1.0]
The first error (inflate returned -3 (0 bytes)) was tracked in token.c:
> case r_inflating:
> rx_strm.next_out = (Bytef *)dbuf;
> rx_strm.avail_out = AVAIL_OUT_SIZE(CHUNK_SIZE);
> r = inflate(&rx_strm, Z_NO_FLUSH);
> n = AVAIL_OUT_SIZE(CHUNK_SIZE) - rx_strm.avail_out;
>...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...r_init:
+ recv_state = r_idle;
+ rx_token = 0;
+ break;
+
+ case r_idle:
+ flag = read_byte(f);
+ if ((flag & 0xC0) == DEFLATED_DATA) {
+ n = ((flag & 0x3f) << 8) + read_byte(f);
+ read_buf(f, cbuf, n);
+
+ zstd_in_buff.size = n;
+ zstd_in_buff.pos = 0;
+
+ recv_state = r_inflating;
+
+ } else if (flag == END_FLAG) {
+ /* that's all folks */
+ recv_state = r_init;
+ return 0;
+
+ } else {
+ /* here we have a token of some kind */
+ if (flag & TOKEN_REL) {
+ rx_token += flag & 0x3f;
+ flag >>= 6;
+ } else
+ rx_token = read_int(f);
+...