diff --git a/common/HttpClient.php b/common/HttpClient.php index 9cb2c19..a3a22d9 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -173,7 +173,9 @@ class HttpClient public function setIsSSL(bool $isSSL) { $this->isSSL = $isSSL; - $this->port = 443; + if ($this->isSSL) { + $this->port = 443; + } }