add clear
This commit is contained in:
@@ -507,10 +507,10 @@ class HttpClient
|
|||||||
$sslCert = $this->getSslCertFile();
|
$sslCert = $this->getSslCertFile();
|
||||||
$sslKey = $this->getSslKeyFile();
|
$sslKey = $this->getSslKeyFile();
|
||||||
$sslCa = $this->getCa();
|
$sslCa = $this->getCa();
|
||||||
//
|
|
||||||
// if (empty($sslCert) || empty($sslKey) || empty($sslCa)) {
|
if (empty($sslCert) || empty($sslKey) || empty($sslCa)) {
|
||||||
// return [];
|
return [];
|
||||||
// }
|
}
|
||||||
$params['ssl_host_name'] = $this->host;
|
$params['ssl_host_name'] = $this->host;
|
||||||
$params['ssl_cert_file'] = $this->getSslCertFile();
|
$params['ssl_cert_file'] = $this->getSslCertFile();
|
||||||
$params['ssl_key_file'] = $this->getSslKeyFile();
|
$params['ssl_key_file'] = $this->getSslKeyFile();
|
||||||
|
|||||||
Reference in New Issue
Block a user