SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix reading from a url
Chris Luc11d84f31414
diff --git a/weed/util/http_util.go b/weed/util/http_util.goindex 00dbdf90fa..6494041e39 100644--- a/weed/util/http_util.go+++ b/weed/util/http_util.go@@ -201,7 +201,10 @@ func ReadUrl(fileUrl string, offset int64, size int, buf []byte) (n int64, e errvar i, m intfor {- m, err = r.Body.Read(buf[i:cap(buf)])+ m, err = r.Body.Read(buf[i:])+ if m == 0 {+ return+ }i += mn += int64(m)if err == io.EOF {