mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
fix: regression in counting total requests (#17024)
This commit is contained in:
@@ -56,8 +56,8 @@ func (r *RequestRecorder) Read(p []byte) (n int, err error) {
|
||||
return n, err
|
||||
}
|
||||
|
||||
// BodySize returns the body size if the currently read object
|
||||
func (r *RequestRecorder) BodySize() int {
|
||||
// Size returns the body size if the currently read object
|
||||
func (r *RequestRecorder) Size() int {
|
||||
return r.bytesRead
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user