Lines Matching refs:proxy
611 FTP, proxy, etc. */
626 char *mynewloc, *proxy;
659 proxy = getproxy (u);
660 if (proxy)
666 /* Parse the proxy URL. */
667 proxy_url = url_parse (proxy, &up_error_code, NULL, true);
670 char *error = url_error (proxy, up_error_code);
671 logprintf (LOG_NOTQUIET, _("Error parsing proxy URL %s: %s.\n"),
672 proxy, error);
681 logprintf (LOG_NOTQUIET, _("Error in proxy URL %s: Must be HTTP.\n"), proxy);
1110 /* Return the URL of the proxy appropriate for url U. */
1115 char *proxy = NULL;
1127 proxy = opt.http_proxy ? opt.http_proxy : getenv ("http_proxy");
1131 proxy = opt.https_proxy ? opt.https_proxy : getenv ("https_proxy");
1135 proxy = opt.ftp_proxy ? opt.ftp_proxy : getenv ("ftp_proxy");
1140 if (!proxy || !*proxy)
1145 rewritten_url = rewrite_shorthand_url (proxy);
1150 proxy = rewritten_storage;
1153 return proxy;
1156 /* Returns true if URL would be downloaded through a proxy. */
1168 /* Should a host be accessed through proxy, concerning no_proxy? */