xl/fs: ListObjectParts should set nextPartNumberMarker properly. (#1528)

For list requests on parts more than 1000, would lead to an infinite
loop.

Fixes #1522
This commit is contained in:
Harshavardhana
2016-05-08 02:21:12 -07:00
committed by Anand Babu (AB) Periasamy
parent a56d5ef415
commit 56b7df90e1
4 changed files with 14 additions and 8 deletions

View File

@@ -109,7 +109,7 @@ func pathJoin(s1 string, s2 string) string {
}
// Create an s3 compatible MD5sum for complete multipart transaction.
func makeS3MD5(md5Strs ...string) (string, error) {
func completeMultipartMD5(md5Strs ...string) (string, error) {
var finalMD5Bytes []byte
for _, md5Str := range md5Strs {
md5Bytes, err := hex.DecodeString(md5Str)