From 7db7ad1ea0d084a522a4fb245405e94a167f45ac Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 19 Dec 2019 10:43:18 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/HttpClient.php b/common/HttpClient.php index 9bcdf92..4b031d5 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -253,7 +253,6 @@ class HttpClient $this->isSSL = false; } } - var_dump($first, $this->port); if (preg_match('/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/', $first)) { return $first; } @@ -340,6 +339,7 @@ class HttpClient */ private function generate_client($host, $url, $data) { + var_dump($host, $this->getHostPort(), $this->isSSL); $client = new SClient($host, $this->getHostPort(), $this->isSSL); if (!empty($this->agent)) { $this->header['User-Agent'] = $this->agent;