Lines Matching refs:proxy
145 our $SOCKSIN="socksd-request.log"; # what curl sent to the SOCKS proxy
479 # since the http2+3 server is a proxy that needs to know about the
524 # Return flags to let curl use an external HTTP proxy
527 return " --proxy $proxy_address ";
1124 elsif($alt eq "proxy") {
1155 $flags .= "--connect $HOSTIP " if($alt eq "proxy");
1330 my ($verb, $proto, $proxy, $certfile) = @_;
1335 if($proxy eq "proxy") {
1336 # the https-proxy runs as https2
1374 elsif(!$proxy) {
1378 # for HTTPS-proxy we connect to the HTTP proxy
2214 elsif($alt eq "proxy") {
2452 elsif($what eq "http-proxy") {
2453 if($torture && $run{'http-proxy'} &&
2454 !responsive_http_server("http", $verbose, "proxy",
2456 if(stopserver('http-proxy')) {
2457 return ("failed stopping unresponsive HTTP-proxy server", 3);
2460 if(!$run{'http-proxy'}) {
2462 runhttpserver("http", $verbose, "proxy");
2464 return ("failed starting HTTP-proxy server", $serr);
2466 logmsg sprintf ("* pid http-proxy => %d %d\n", $pid, $pid2)
2468 $run{'http-proxy'}="$pid $pid2";
2646 elsif($what eq "https-proxy") {
2648 # we can't run https-proxy tests without stunnel
2651 if($runcert{'https-proxy'} &&
2652 ($runcert{'https-proxy'} ne $certfile)) {
2654 if(stopserver('https-proxy')) {
2655 return ("failed stopping HTTPS-proxy with different cert", 3);
2659 # we front the http-proxy with stunnel so we need to make sure the
2660 # proxy runs as well
2661 my ($f, $e) = startservers("http-proxy");
2666 if(!$run{'https-proxy'}) {
2668 runhttpsserver($verbose, "https", "proxy", $certfile);
2670 return ("failed starting HTTPS-proxy (stunnel)", $serr);
2672 logmsg sprintf("* pid https-proxy => %d %d\n", $pid, $pid2)
2674 $run{'https-proxy'}="$pid $pid2";