diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-05-05 17:08:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-13 08:17:10 +0200 |
commit | 6d32b72822efd160963eb5988a705f6c2013d0a9 (patch) | |
tree | bd3a9d598991ac7702f513c14f1416929203e84b /lib/url.c | |
parent | b084616210b778868fc0fbdc02fafb7ef85f835d (diff) | |
download | curl-6d32b72822efd160963eb5988a705f6c2013d0a9.tar.gz |
proxy: acknowledge DISABLE_PROXY more
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -866,6 +866,7 @@ static int IsMultiplexingPossible(const struct Curl_easy *handle, return avail; } +#ifndef CURL_DISABLE_PROXY static bool proxy_info_matches(const struct proxy_info* data, const struct proxy_info* needle) @@ -877,6 +878,10 @@ proxy_info_matches(const struct proxy_info* data, return FALSE; } +#else +/* disabled, won't get called */ +#define proxy_info_matches(x,y) FALSE +#endif /* * This function checks if the given connection is dead and extracts it from |