fix incorrect http range in SelectObjectContentHandler (#11585)

master
mailsmail 4 years ago committed by GitHub
parent c70240b893
commit 173284903b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      cmd/object-handlers.go

@ -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…
Cancel
Save