mirror of
https://github.com/minio/minio.git
synced 2025-02-03 01:46:00 -05: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
|
||||
}
|
||||
|
||||
if length > 0 {
|
||||
length--
|
||||
}
|
||||
|
||||
rs := &HTTPRangeSpec{
|
||||
IsSuffixLength: isSuffixLength,
|
||||
Start: offset,
|
||||
|
Loading…
x
Reference in New Issue
Block a user