Just want to know the reason behind the code:
In StreamChunkCreator.java, canDuplicate is set to true only when uploadmanager sets isAllowParallelUploads to true.
If canDuplicate is set to false, then DuplicatedSubRangeInputStream is not created in StreamChunkCreator->next function.
This creates a headache for me to upload a large file, my inputstream doesn't support read in parallel, thus I can't set allowparalleluploads in uploadmanager.
then likely, I'll get Out-of-memory exception during the upload process.