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

[Feature Request] Add optional bind IP option (--interface) when using curl #16

Closed
taoky opened this issue Oct 4, 2020 · 1 comment · Fixed by #17
Closed

[Feature Request] Add optional bind IP option (--interface) when using curl #16

taoky opened this issue Oct 4, 2020 · 1 comment · Fixed by #17

Comments

@taoky
Copy link

taoky commented Oct 4, 2020

When StorageMirrorServer.jl is used under an environment with multiple IPs (interfaces) from different ISPs, it could happen that upstreams (https://us-east.storage.juliahub.com and https://kr.storage.juliahub.com) are only reachable under some specific interfaces (it could happen when some ISPs block upstreams' IPs).

curl (as is used in v0.2.0) supports binding to a specified interface when requesting, by adding a parameter --interface. It can be designed that when a specific environment variable (e.g., BIND_ADDRESS=xxx.xxx.xxx.xxx) is set, then use it to request upstreams (curl --interface $BIND_ADDRESS ...). Configuring Julia's storage syncing can be more flexible if it can be implemented.

@johnnychen94
Copy link
Owner

johnnychen94 commented Oct 4, 2020

Will be available in v0.2.1

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 a pull request may close this issue.

2 participants