tus-android-client icon indicating copy to clipboard operation
tus-android-client copied to clipboard

If file Size equals to payload size, the upload fails.

Open bestMechanic opened this issue 2 years ago • 0 comments

If you upload a file of size equal to payload size, the upload fails. Because it tries to make 1 extra attempt to upload the last chunk with 0 file length.

This seems a very generic issue, it shouldn't make a new attempt to upload the last chunk of size 0 byte. while (uploader.uploadChunk() > 0)

bestMechanic avatar Jun 01 '22 05:06 bestMechanic