From b8e7a5f086212e9393647a457093b02b7cf6e05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 11 Jan 2022 16:20:49 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- CurlClient.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CurlClient.php b/CurlClient.php index da71ca5..a3b570a 100644 --- a/CurlClient.php +++ b/CurlClient.php @@ -49,8 +49,9 @@ class CurlClient extends ClientAbstracts $host = $isHttps ? 'https://' . $host : 'http://' . $host; if ($this->getPort() != 443 && $this->getPort() != 80) { $host .= ':' . $this->getPort(); + + var_dump($this->getPort()); } - var_dump($host . $path); $this->do(curl_init($host . $path), $host . $path, $method); if ($isHttps !== FALSE) { $this->curlHandlerSslSet();