Lines Matching defs:proxy
106 } proxy;
405 * Parse a proxy URI and split it up into host, port and userinfo.
452 errx(1, "%s: malformed proxy url", http_info(uri));
462 if ((proxy.proxyhost = strdup(host)) == NULL)
464 if ((proxy.proxyport = strdup(port)) == NULL)
466 proxy.proxyauth = cookie;
846 if (proxy.proxyhost != NULL) {
847 if (http_resolv(&conn->res0, proxy.proxyhost,
848 proxy.proxyport) == -1) {
993 * Connection successfully establish, initiate TLS handshake or proxy request.
998 if (proxy.proxyhost != NULL)
1167 proxy.proxyauth)) == -1)
1294 case 203: /* Success: non-authoritative information (proxy) */
1575 /* proxy is ready to take connection */
1793 /* proxy is ready, connect to remote */
1805 * Send out the proxy request. When done, replace buffer with the read buffer.