mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
erasure: avoid io.Copy in hotpaths to reduce allocation (#11213)
This commit is contained in:
@@ -432,6 +432,7 @@ func (api objectAPIHandlers) GetObjectHandler(w http.ResponseWriter, r *http.Req
|
||||
return
|
||||
}
|
||||
defer gr.Close()
|
||||
|
||||
objInfo := gr.ObjInfo
|
||||
|
||||
// filter object lock metadata if permission does not permit
|
||||
|
||||
Reference in New Issue
Block a user