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

Support for cargo update while behind proxy #1135

Closed
rohitjoshi opened this issue Jan 8, 2015 · 2 comments
Closed

Support for cargo update while behind proxy #1135

rohitjoshi opened this issue Jan 8, 2015 · 2 comments

Comments

@rohitjoshi
Copy link

Does cargo support update when behind proxy?

I tried
export ALL_PROXY=http://localhost:8098

but Cargo update command hangs at

cargo update -v
    Updating registry `https://github.com/rust-lang/crates.io-index`

Looking at the source, it seem to be using curl which does support ALL_PROXY. Not sure rust module for curl has the support though.

@rohitjoshi
Copy link
Author

Note: export ALL_PROXY=http://localhost:8098 works fine for brew upgrade

@alexcrichton
Copy link
Member

Unfortunately this is because libgit2 does not support proxies just yet. As a result I believe that this is a dupe of #636, but thanks for the report!

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