Skip to content

Conversation

@sinbad
Copy link
Contributor

@sinbad sinbad commented Jun 14, 2016

Adds a new "tus" transfer adapter which uses the tus.io resumable upload protocol (HEAD/PATCH methods). This allows a server to share upload action links to an endpoint which supports this protocol and therefore allow upload resuming.

The included tests implement the server protocol too to prove it works, and I'm also submitting a PR to lfs-test-server which uses the official tusd server to prove it works using the official implementation and to demonstrate how you might go about using it.

mutex *sync.Mutex
objects map[string]map[string][]byte
incomplete map[string]map[string][]byte
mutex *sync.Mutex
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need the pointer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Which pointer? The Mutex is unchanged if that's the one you mean.

@ttaylorr
Copy link
Contributor

👍 , just some minor comments from me.

@sinbad
Copy link
Contributor Author

sinbad commented Jul 4, 2016

Tests are currently failing because updating to master has pulled in a flaky test: #1334

@ttaylorr
Copy link
Contributor

ttaylorr commented Jul 4, 2016

Welcome back, @sinbad, and thanks for the speedy fixes. This looks great, and I am really excited to get this into master. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants