Compression error? -- "Inflate (token) returned -5"

Matt McCutchen matt at mattmccutchen.net
Thu Oct 9 16:15:46 GMT 2008


On Thu, 2008-10-09 at 07:54 -0700, Wayne Davison wrote:
> I wonder if there was a false checksum
> match in the file?  In such a case, the sender and the receiver would
> compress different "matching" data, and could potentially get out of
> sync.

That would explain it.

> If so, I doubt there's a fix other than
> to not allow rsync to include matched (unsent) data in the compression
> stream.

That would lose a major advantage of the -z option.  Would it work to
just abort the file transfer with the "ERROR: file failed verification"
message when compression is found to be out of sync?

Matt



More information about the rsync mailing list