Browse Source

minor

pull/3472/head
chrislu 2 years ago
parent
commit
58dd880322
  1. 4
      weed/util/http_util.go

4
weed/util/http_util.go

@ -331,7 +331,9 @@ func ReadUrlAsStream(fileUrl string, cipherKey []byte, isContentGzipped bool, is
for {
m, err = reader.Read(buf)
fn(buf[:m])
if m > 0 {
fn(buf[:m])
}
if err == io.EOF {
return false, nil
}

Loading…
Cancel
Save