DescriptionI am not entirely sure if this is the right fix, but the examples in cmd/venti return the error:
"read count too large for protocol"
This is because of the following check in vtreadpacket (libventi/client.c) which was added to support blocks > 64k:
if(z->version[1] == '2' && n >= (1<<16)) {
werrstr("read count too large for protocol");
return nil;
}
Setting VtMaxLumpSize to (1<<16)-1 fixes the issue.
Patch Set 1 #
MessagesTotal messages: 4
|