Lines Matching defs:proxy
46 * Perform SSL initialization for HTTPS proxy. Sets
79 return result; /* wait for HTTPS proxy SSL initialization to complete */
84 /* for [protocol] tunneled through HTTP proxy */
92 /* We want "seamless" operations through HTTP proxy tunnel */
97 * proxy. After Curl_proxyCONNECT we have to set back the member to the
101 * if the proxy's CONNECT response is not instant.
106 connkeep(conn, "HTTP proxy CONNECT");
134 /* no HTTP tunnel proxy, just return */
208 infof(data, "Establish HTTP proxy tunnel to %s:%d\n",
229 /* Setup the proxy-authorization header, if any */
262 if(!Curl_checkProxyheaders(conn, "Proxy-Connection"))
263 proxyconn = "Proxy-Connection: Keep-Alive\r\n";
273 "%s" /* Proxy-Authorization */
275 "%s", /* Proxy-Connection */
296 /* Send the connect request to the proxy */
304 failf(data, "Failed sending CONNECT to proxy");
317 failf(data, "Proxy CONNECT aborted due to timeout");
355 /* proxy auth was requested and there was proxy auth available,
356 then deem this as "mere" proxy disconnect */
358 infof(data, "Proxy CONNECT connection closed\n");
362 failf(data, "Proxy CONNECT aborted");
444 /* end of response-headers from the proxy */
502 (checkprefix("Proxy-authenticate:", s->line_start) &&
505 bool proxy = (k->httpcode == 407) ? TRUE : FALSE;
510 result = Curl_http_input_auth(conn, proxy, auth);
549 "Proxy-Connection:", "close"))
554 /* store the HTTP code from the proxy */
610 streamclose(conn, "proxy CONNECT failure");
621 failf(data, "Received HTTP code %d from proxy after CONNECT",
628 /* If a proxy-authorization header was used for the proxy, then we should
636 infof(data, "Proxy replied %d to CONNECT request\n",
655 * Curl_proxyCONNECT() requires that we're connected to a HTTP proxy. This
657 * this proxy. After that, the socket can be used just as a normal socket.