Ignore all checksum stanzas

pull/815/merge
Andrew Gaul 2025-08-28 22:52:19 -07:00
rodzic 02fbdc149b
commit d069ac1370
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ final class ChunkedInputStream extends FilterInputStream {
return -1;
}
String[] parts = line.split(";", 2);
if (parts[0].startsWith("x-amz-checksum-crc32:")) {
if (parts[0].startsWith("x-amz-checksum-")) {
currentLength = 0;
} else {
currentLength = Integer.parseInt(parts[0], 16);