Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Make sure the server upload endpoint tolerates interrupted uploads #97

Closed
blackandred opened this issue Dec 18, 2019 · 2 comments
Closed
Assignees
Labels

Comments

@blackandred
Copy link
Contributor

blackandred commented Dec 18, 2019

No description provided.

@blackandred
Copy link
Contributor Author

Connection abort is actually done at NGINX level, but we should support it anyway because people may use other infrastructure configuration that may not protect the applicaton.

@blackandred blackandred removed this from the Backup Repository v4.2 milestone Feb 5, 2022
@blackandred blackandred changed the title [Server] Support connection abort in File Repository Make sure the server upload endpoint tolerates interrupted uploads Feb 5, 2022
@blackandred
Copy link
Contributor Author

Implemented using Golang contexts and information from GIN. The streamed file is immediately removed from storage if upload is interrupted.

#164

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant