add clear

This commit is contained in:
2020-11-13 15:52:48 +08:00
parent 2ca01ea46f
commit e3956048b2
+1
View File
@@ -348,6 +348,7 @@ class HttpClient
$this->host = System::gethostbyname($this->host);
}
var_dump($this->host);
if (!$this->checkIsIp($this->host) && !$this->isDomainName($this->host)) {
throw new Exception('Client Host error.');
}