forked from rust-lang/cargo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to libgit2 not supporting HTTP proxies, the custom transport API of the library must be used to reimplement the HTTP transport with proxy support. The git2-curl crate implements this transport on top of the curl-rust crate. By using libcurl we gain all sorts of proxy support for free. This transport is not used by default, however, as it is not well battle tested and the architecture is not currently ideal (download the entire repo into memory on a clone). Only when an HTTP proxy is present is the new transport used. The other drawback of git2-curl is that it does not currently support authentication. If a private git repository is cloned or authentication is required then it will generate an error instead of correctly asking for credentials. Closes rust-lang#636
- Loading branch information
1 parent
9404539
commit b20b0f6
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters