Lines Matching refs:penv
779 handle_proxy(const char *url, const char *penv, struct urlinfo *ui,
791 if (parse_url(penv, "proxy URL", &pui, pauth, NULL) == -1)
797 warnx("Malformed proxy URL `%s'", penv);
1073 do_auth(int hcode, const char *url, const char *penv, struct authinfo *wauth,
1108 *rval = fetch_url(url, penv,
1119 negotiate_connection(FETCH *fin, const char *url, const char *penv,
1255 do_auth(hcode, url, penv, wauth, pauth, auth, message, rval,
1284 connectmethod(FETCH *fin, const char *url, const char *penv,
1353 do_auth(hcode, url, penv, wauth, pauth, auth, message, rval,
1420 const char *volatile penv = proxyenv;
1425 DPRINTF("%s: `%s' proxyenv `%s'\n", __func__, url, STRorNULL(penv
1542 if (penv == NULL) {
1545 penv = getoptionvalue("https_proxy");
1547 if (penv == NULL && IS_HTTP_TYPE(ui.utype))
1548 penv = getoptionvalue("http_proxy");
1550 penv = getoptionvalue("ftp_proxy");
1553 if (! EMPTYSTRING(penv)) { /* use proxy */
1566 penv);
1569 if (handle_proxy(url, penv, &ui, &pauth) < 0)
1572 } /* ! EMPTYSTRING(penv) */
1596 switch (connectmethod(fin, url, penv, &oui, &ui,
1633 switch (negotiate_connection(fin, url, penv, &pi,