Lines Matching defs:penv
780 handle_proxy(const char *url, const char *penv, struct urlinfo *ui,
792 if (parse_url(penv, "proxy URL", &pui, pauth, NULL) == -1)
798 warnx("Malformed proxy URL `%s'", penv);
1072 do_auth(int hcode, const char *url, const char *penv, struct authinfo *wauth,
1107 *rval = fetch_url(url, penv,
1118 negotiate_connection(FETCH *fin, const char *url, const char *penv,
1254 do_auth(hcode, url, penv, wauth, pauth, auth, message, rval,
1283 connectmethod(FETCH *fin, const char *url, const char *penv,
1352 do_auth(hcode, url, penv, wauth, pauth, auth, message, rval,
1419 const char *volatile penv = proxyenv;
1424 DPRINTF("%s: `%s' proxyenv `%s'\n", __func__, url, STRorNULL(penv));
1541 if (penv == NULL) {
1544 penv = getoptionvalue("https_proxy");
1546 if (penv == NULL && IS_HTTP_TYPE(ui.utype))
1547 penv = getoptionvalue("http_proxy");
1549 penv = getoptionvalue("ftp_proxy");
1552 if (! EMPTYSTRING(penv)) { /* use proxy */
1565 penv);
1568 if (handle_proxy(url, penv, &ui, &pauth) < 0)
1571 } /* ! EMPTYSTRING(penv) */
1595 switch (connectmethod(fin, url, penv, &oui, &ui,
1632 switch (negotiate_connection(fin, url, penv, &pi,