add clear
This commit is contained in:
@@ -462,6 +462,8 @@ class HttpClient
|
||||
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
|
||||
|
||||
$settings = $this->settings();
|
||||
var_dump($settings);
|
||||
|
||||
if (!empty($settings)) {
|
||||
$client->set($this->settings());
|
||||
}
|
||||
@@ -511,6 +513,7 @@ class HttpClient
|
||||
$sslCert = $this->getSslCertFile();
|
||||
$sslKey = $this->getSslKeyFile();
|
||||
$sslCa = $this->getCa();
|
||||
|
||||
if (empty($sslCert) || empty($sslKey) || empty($sslCa)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user