We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e80aae5 + d445fda commit f4a48e8Copy full SHA for f4a48e8
http.c
@@ -70,6 +70,7 @@ static long curl_low_speed_limit = -1;
70
static long curl_low_speed_time = -1;
71
static int curl_ftp_no_epsv;
72
static const char *curl_http_proxy;
73
+static const char *curl_no_proxy;
74
static const char *http_proxy_authmethod;
75
static struct {
76
const char *name;
@@ -624,6 +625,11 @@ static CURL *get_curl_handle(void)
624
625
}
626
627
curl_easy_setopt(result, CURLOPT_PROXY, proxy_auth.host);
628
+#if LIBCURL_VERSION_NUM >= 0x071304
629
+ var_override(&curl_no_proxy, getenv("NO_PROXY"));
630
+ var_override(&curl_no_proxy, getenv("no_proxy"));
631
+ curl_easy_setopt(result, CURLOPT_NOPROXY, curl_no_proxy);
632
+#endif
633
634
init_curl_proxy_auth(result);
635
0 commit comments