Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you host a tls webserver hosting go-sync diff files? #2

Open
fire opened this issue Jan 25, 2015 · 1 comment
Open

How do you host a tls webserver hosting go-sync diff files? #2

fire opened this issue Jan 25, 2015 · 1 comment

Comments

@fire
Copy link

fire commented Jan 25, 2015

How do you host a tls webserver hosting go-sync diff files?

This may be a documentation issue.

@Redundancy
Copy link
Owner

The files are just files. The default http block source uses a Get request on the provided url to the patch command to the uncompressed original source file: https://github.com/Redundancy/go-sync/blob/0efcbc7fb32eedde2f1094f99dfb658328fefde6/blocksources/httpblocksource.go

I really wouldn't recommend using this in production though - even if the test coverage is reasonably good on the code, there are things that are almost certainly needed (splitting up large ranges to multiple requests) that are needed (not to mention that there's no consideration of file permissions etc).

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

No branches or pull requests

2 participants