diff options
author | ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com> | 2016-12-16 21:26:18 +0900 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-01-13 11:18:11 +0100 |
commit | efdbfde7ca205f256c4e8b473c775cf73557cfd7 (patch) | |
tree | 94f71491c4107c0bf12e7153f10c452d41f7bc25 /projects | |
parent | 1b57557882891285ff53c243bb4ede8b1ccac79c (diff) |
url: Refactor detect_proxy()
If defined CURL_DISABLE_HTTP, detect_proxy() returned NULL. If not
defined CURL_DISABLE_HTTP, detect_proxy() checked noproxy list.
Thus refactor to set proxy to NULL instead of calling detect_proxy() if
define CURL_DISABLE_HTTP, and refactor to call detect_proxy() if not
define CURL_DISABLE_HTTP and the host is not in the noproxy list.
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions