Browse Source

minor

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

2
weed/util/http_util.go

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

Loading…
Cancel
Save