3
This commit is contained in:
@@ -363,10 +363,6 @@ class HttpClient
|
||||
[$this->host, $this->port] = explode(':', $this->host);
|
||||
}
|
||||
|
||||
if ($this->use_swoole) {
|
||||
return $string;
|
||||
}
|
||||
|
||||
if (!$this->checkIsIp($this->host) && Coroutine::getuid() > 0) {
|
||||
$this->host = System::gethostbyname($this->host);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user