-
Notifications
You must be signed in to change notification settings - Fork 224
Conversation
You can specify proxy address with
I set up a proxy server with Azure VM and verified that when you specify a proxy, the http requests do go through the proxy. However, I couldn't find a easy way to simulate the environment where myget.org/nugt.org blocks my direct access and I can only use a proxy to do @swimtver @shaunxu could you guys please help to verify my fix in your environment? |
@ChengTian what about authenticated proxies? You can set one up using fiddler (it has support for doing that). We might need to support something like http://user:password@... |
@davidfowl , added support for authenticated proxies and tested with fiddler. |
@@ -54,6 +54,7 @@ public int Main(string[] args) | |||
CommandOptionType.MultipleValue); | |||
var optFallbackSource = c.Option("-f|--fallbacksource <FEED>", | |||
"A list of packages sources to use as a fallback", CommandOptionType.MultipleValue); | |||
var optProxy = c.Option("-p|--proxy <ADDRESS>", "The http proxy used when retrieving packages", CommandOptionType.SingleValue); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http
--> HTTP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And used
--> to use
Improved based on feedbacks. @Eilon @davidfowl , please sign off if it's Ok. |
|
1 similar comment
|
- Add proxy option to "kpm restore" subcommand - "kpm restore" uses global proxy (http_proxy env var) by default - Add support for authenticated proxies
@ChengTian in my enviroment it doesn't work. |
@sleemer , thank you for reporting the problem. I created an issue at #1364. Next time when you want to report any problem, please create an issue at https://github.com/aspnet/DNX/issues. Thank you for your contribution! |
parent #215