Open arkadyno opened 4 years ago
After calling setHTTPProxy('192.168.1.100', 3128); soap client still connects to port 80. In the connect() method:
setHTTPProxy('192.168.1.100', 3128);
if (!is_array($this->proxy)) { $host = $this->host; $port = $this->port; } else { $host = $this->proxy['host']; $port = $this->proxy['port']; }
But $port variable is not used anywhere in the method. Instead, connection always is set to $host and $this->port : $this->fp = @fsockopen($host, $this->port, $this->errno, $this->error_str, $connection_timeout);
$this->fp = @fsockopen($host, $this->port, $this->errno, $this->error_str, $connection_timeout);
After calling
setHTTPProxy('192.168.1.100', 3128);
soap client still connects to port 80. In the connect() method:But $port variable is not used anywhere in the method. Instead, connection always is set to $host and $this->port :
$this->fp = @fsockopen($host, $this->port, $this->errno, $this->error_str, $connection_timeout);