Klaus Post
2022-03-14 09:48:36 -07:00
committed by GitHub
parent 9c846106fa
commit c07af89e48
4 changed files with 471 additions and 3 deletions

View File

@@ -206,6 +206,9 @@ func (api objectAPIHandlers) SelectObjectContentHandler(w http.ResponseWriter, r
Start: offset,
End: offset + length,
}
if length == -1 {
rs.End = -1
}
return getObjectNInfo(ctx, bucket, object, rs, r.Header, readLock, opts)
}