Lines Matching defs:port
183 $uriPort = empty($uri['port']) ? null : $uri['port'];
192 $port = $this->proxy_port;
193 if (empty($port)) $port = 8080;
197 $port = $uriPort ?: ($uri['scheme'] == 'https' ? 443 : 80);
247 $connectionId = $this->uniqueConnectionId($server, $port);
257 $socket = @fsockopen($server, $port, $errno, $errstr, $this->timeout);
260 $this->error = "Could not connect to $server:$port\n$errstr ($errno)";
523 if (empty($requestinfo['port'])) $requestinfo['port'] = 443;
526 $request = "CONNECT {$requestinfo['host']}:{$requestinfo['port']} HTTP/1.0" . HTTP_NL;
886 * @param string $port
889 protected function uniqueConnectionId($server, $port)
891 return "$server:$port";