Re: [PATCH 2/3] http: try standard proxy env vars when http.proxy config option is not set

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH 2/3] http: try standard proxy env vars when http.proxy config option is not set

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:18

Nelson Benitez Leon [off-list ref] writes:
On 03/11/2012 08:12 PM, Junio C Hamano wrote:
quoted
James Cloos [off-list ref] writes:
quoted
Please include a way, eg via ~/.gitconfig, to ignore any http_proxy in
the environment and connect directly.
Hrm.

I think without this patch series, the "NO_PROXY" environment
variable is honored by the curl library when it uses http_proxy
to make the decision. If this patch (or a future reroll of it) fails
to do the same, it would be a regression.

Nelson, do you agree?
I agree, so I would need to handle $no_proxy in the patch-set, will look
into that.
Are you sure $no_proxy is spelled in lowercase?  man curl(1) seems to
indicate otherwise.

Re: [PATCH 2/3] http: try standard proxy env vars when http.proxy config option is not set

From: Nelson Benitez Leon <hidden>
Date: 2016-06-15 22:53:18

On 03/14/2012 05:36 AM, Junio C Hamano wrote:
Nelson Benitez Leon [off-list ref] writes:
quoted
On 03/11/2012 08:12 PM, Junio C Hamano wrote:
quoted
James Cloos [off-list ref] writes:
quoted
Please include a way, eg via ~/.gitconfig, to ignore any http_proxy in
the environment and connect directly.
Hrm.

I think without this patch series, the "NO_PROXY" environment
variable is honored by the curl library when it uses http_proxy
to make the decision. If this patch (or a future reroll of it) fails
to do the same, it would be a regression.

Nelson, do you agree?
I agree, so I would need to handle $no_proxy in the patch-set, will look
into that.
Are you sure $no_proxy is spelled in lowercase?  man curl(1) seems to
indicate otherwise.
Instead here[1] in section "Environment Variables" it's spelled lowercase,
and given that cURL reads $http_proxy only in lowercase I think it does
the same for $no_proxy.

[1] http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help