Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
stopping uploading process #8
added a commit
May 5, 2014
Partially solved this issue. The currently proposed implementation may not satisfy all the users' expectation.
Indeed, when stop is requested, the process will effectively stop only after the current operation is complete. For example, if the task is to upload a directory, and the user decides to stop the task while it is still in progress, the process will stop only after the completion of the upload of the file that is being uploaded when the stop request is made.
Such a behaviour is certainly acknowledged as totally acceptable as far as the file is rather small. Nevertheless, it might become questionable when the file is very large. For instance, if the file has a size of 5GB and the stop request is made just after starting uploading, then the user may become confused...
Let's say that there remain some room for improvement.