aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test203
diff options
context:
space:
mode:
authorERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>2016-12-16 21:26:18 +0900
committerDaniel Stenberg <daniel@haxx.se>2017-01-13 11:18:11 +0100
commitefdbfde7ca205f256c4e8b473c775cf73557cfd7 (patch)
tree94f71491c4107c0bf12e7153f10c452d41f7bc25 /tests/data/test203
parent1b57557882891285ff53c243bb4ede8b1ccac79c (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 'tests/data/test203')
0 files changed, 0 insertions, 0 deletions