mirror of
https://github.com/minio/minio.git
synced 2025-04-25 12:34:03 -04:00
fix incorrect http range in SelectObjectContentHandler (#11585)
This commit is contained in:
parent
c70240b893
commit
173284903b
@ -188,6 +188,10 @@ func (api objectAPIHandlers) SelectObjectContentHandler(w http.ResponseWriter, r
|
|||||||
isSuffixLength = true
|
isSuffixLength = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if length > 0 {
|
||||||
|
length--
|
||||||
|
}
|
||||||
|
|
||||||
rs := &HTTPRangeSpec{
|
rs := &HTTPRangeSpec{
|
||||||
IsSuffixLength: isSuffixLength,
|
IsSuffixLength: isSuffixLength,
|
||||||
Start: offset,
|
Start: offset,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user