We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 674b1d4 commit 7e631dcCopy full SHA for 7e631dc
src/resumable-upload.ts
@@ -1063,12 +1063,6 @@ export class Upload extends Writable {
1063
} else {
1064
headers['Content-Range'] = `bytes ${this.offset}-*/${this.contentLength}`;
1065
1066
- // Buffer the entire upload to calculate the hash before sending.
1067
- for await (const chunk of this.upstreamIterator(expectedUploadSize)) {
1068
- this.#addLocalBufferCache(chunk);
1069
- }
1070
- this.prependLocalBufferToUpstream();
1071
-
1072
if (this.#hashValidator) {
1073
this.#hashValidator.end();
1074
}
0 commit comments