Lines Matching refs:port
186 $uriPort = !empty($uri['port']) ? $uri['port'] : null;
195 $port = $this->proxy_port;
196 if (empty($port)) $port = 8080;
200 $port = $uriPort ?: ($uri['scheme'] == 'https' ? 443 : 80);
252 $connectionId = $this->uniqueConnectionId($server,$port);
262 $socket = @fsockopen($server,$port,$errno, $errstr, $this->timeout);
265 $this->error = "Could not connect to $server:$port\n$errstr ($errno)";
522 if(empty($requestinfo['port'])) $requestinfo['port'] = 443;
525 $request = "CONNECT {$requestinfo['host']}:{$requestinfo['port']} HTTP/1.0".HTTP_NL;
875 * @param string $port
878 protected function uniqueConnectionId($server, $port) {
879 return "$server:$port";