-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Description
I ran into checksum problems. Maybe the tus chunking extension is not what we want because it may discard whole chunks?
See clarification in tus/tus-resumable-upload-protocol#143 (comment)
all client disconnects would remove the last chunk.
Yes, that's true and one of the major drawbacks of checksum extension.
- we can send the checksum in the metadata, but for large files that would
require reading the file twice. - the client might calculate the checksum while sending, the server as well and can return the checksum in the response. but that would require resending the whole file in case of an error.
- actually this is the right thing to do
- together with the concatenation extension the full bandwith can be used
- but tusd does not support it, yet
AFAICT we can send the checksum in the metadata to mimic the current checksum protocol: https://doc.owncloud.org/desktop/2.4/architecture.html#upload
Metadata
Metadata
Assignees
Labels
No labels