From e9d9b305ebb72273f6d5efe1353267fe2be96585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ms=C2=B7xl?= Date: Sat, 14 Nov 2020 02:18:27 +0800 Subject: [PATCH] 3 --- wchat/common/HttpClient.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index e778df9..8fae737 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -195,7 +195,6 @@ class HttpClient */ public function setHost(string $host) { - var_dump($host); $this->host = $this->replaceHost($host); $match_quest = '/^[a-zA-Z\-]+(\.[a-zA-Z\-])+/'; if (preg_match($match_quest, $this->host)) { @@ -365,7 +364,6 @@ class HttpClient } if (!$this->checkIsIp($this->host) && Coroutine::getuid() > 0) { - var_dump($this->host); $this->host = System::gethostbyname($this->host); } @@ -537,6 +535,7 @@ class HttpClient } if (!empty($this->_data)) { + var_dump($this->_data); $client->setData($this->_data); } $client->execute($url);