Re: [PATCH] http: honnor empty http.proxy option to bypass proxy

2017-04-11 Thread Sergey Ryazanov
On Mon, Apr 10, 2017 at 7:33 PM, Jeff King wrote: > On Mon, Apr 10, 2017 at 06:15:56PM +0300, Sergey Ryazanov wrote: >> Curl distinguish between empty proxy address and NULL proxy address. In >> the first case it completly disable proxy usage, but if proxy address >> option is NULL then curl attem

Re: [PATCH] http: honnor empty http.proxy option to bypass proxy

2017-04-10 Thread Jeff King
On Mon, Apr 10, 2017 at 06:15:56PM +0300, Sergey Ryazanov wrote: > Curl distinguish between empty proxy address and NULL proxy address. In > the first case it completly disable proxy usage, but if proxy address > option is NULL then curl attempt to determine proxy address from > http_proxy environ

[PATCH] http: honnor empty http.proxy option to bypass proxy

2017-04-10 Thread Sergey Ryazanov
Curl distinguish between empty proxy address and NULL proxy address. In the first case it completly disable proxy usage, but if proxy address option is NULL then curl attempt to determine proxy address from http_proxy environment variable. According to documentation, if http.proxy configured to em