kopia lustrzana https://github.com/gaul/s3proxy
Parse chunk length in hexadecimal
Resolves an issue when uploading large objects and parts. References #24.pull/114/head
rodzic
e7ba7e5c0d
commit
5c3333d4d9
|
@ -45,7 +45,7 @@ final class ChunkedInputStream extends FilterInputStream {
|
|||
return -1;
|
||||
}
|
||||
String[] parts = line.split(";", 2);
|
||||
currentLength = Integer.parseInt(parts[0]);
|
||||
currentLength = Integer.parseInt(parts[0], 16);
|
||||
currentSignature = parts[1];
|
||||
chunk = new byte[currentLength];
|
||||
currentIndex = 0;
|
||||
|
|
Ładowanie…
Reference in New Issue