From a0a753d8b4a2d3929cc8394a719d381959018d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 11 Jan 2022 16:25:17 +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 e2185d9..7812365 100644 --- a/CurlClient.php +++ b/CurlClient.php @@ -45,12 +45,13 @@ class CurlClient extends ClientAbstracts private function getCurlHandler($path, $method, $params): void { [$host, $isHttps, $path] = $this->matchHost($path); - var_dump($host, $isHttps, $path); $host = $isHttps ? 'https://' . $host : 'http://' . $host; if ($this->getPort() != 443 && $this->getPort() != 80) { $host .= ':' . $this->getPort(); } + + var_dump($host . $path); $this->do(curl_init($host . $path), $host . $path, $method); if ($isHttps !== FALSE) { $this->curlHandlerSslSet();