b2: implement streaming upload of files with unknown length (see #1614) (closes #1686)

This commit is contained in:
Stefan
2017-09-16 22:43:48 +02:00
committed by GitHub
parent 4ac9a65049
commit 234bfae0d5
3 changed files with 156 additions and 47 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ func Equal(src ObjectInfo, dst Object) bool {
func equal(src ObjectInfo, dst Object, sizeOnly, checkSum bool) bool {
if !Config.IgnoreSize {
if src.Size() != dst.Size() {
Debugf(src, "Sizes differ")
Debugf(src, "Sizes differ (src %d vs dst %d)", src.Size(), dst.Size())
return false
}
}