tus-android-client
tus-android-client copied to clipboard
If file Size equals to payload size, the upload fails.
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)