Skip to content

Comments

Modify upload pausing#42

Merged
Acconut merged 5 commits intotus:masterfrom
cdr-chakotay:master
Aug 10, 2021
Merged

Modify upload pausing#42
Acconut merged 5 commits intotus:masterfrom
cdr-chakotay:master

Conversation

@cdr-chakotay
Copy link
Contributor

@cdr-chakotay cdr-chakotay commented Jul 14, 2021

This PR overloads the TusUploader#finish() method in order to provide a pausable upload, which doesn't close the underlying InputStream.

Make uploads pausable without closing file input Streams
Add a pause functionality, which doesn't close the InputStream
Copy link
Member

@Acconut Acconut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! We might have hit a road block here, which could complicate matter a bit :|

@cdr-chakotay cdr-chakotay requested a review from Acconut August 5, 2021 22:29
Copy link
Contributor Author

@cdr-chakotay cdr-chakotay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Integrated those changes in a slightly different manner.

Copy link
Member

@Acconut Acconut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a few formatting fixes on my own and looks ready now! Thanks!

@Acconut Acconut merged commit 9213a1f into tus:master Aug 10, 2021
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.

2 participants