mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 11:58:52 +08:00
add chunk file helper to support large file
This commit is contained in:
@@ -180,7 +180,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
|
||||
}
|
||||
return
|
||||
}
|
||||
// process mulitple ranges
|
||||
// process multiple ranges
|
||||
for _, ra := range ranges {
|
||||
if ra.start > size {
|
||||
http.Error(w, "Out of Range", http.StatusRequestedRangeNotSatisfiable)
|
||||
|
Reference in New Issue
Block a user