Skip to content

fix: avoid null chunk when file size is a multiple of part size - #1958

Closed
antusus wants to merge 1 commit into
mainfrom
kb_fix_1957
Closed

fix: avoid null chunk when file size is a multiple of part size#1958
antusus wants to merge 1 commit into
mainfrom
kb_fix_1957

Conversation

@antusus

@antusus antusus commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

iterateChunks treated hasNext as true until EOF, so an exact-size last part was followed by a null stream and an NPE in uploadBigFile.

Closes #1957

iterateChunks treated hasNext as true until EOF, so an exact-size
last part was followed by a null stream and an NPE in uploadBigFile.

Closes #1957
@antusus
antusus requested a review from a team August 20, 2026 12:47
@antusus

antusus commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

WIll need to update the codegen first

@antusus antusus closed this Aug 20, 2026
@antusus
antusus deleted the kb_fix_1957 branch August 20, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG in Chunked Upload for Big Files

1 participant