add clear

This commit is contained in:
2020-05-21 16:13:39 +08:00
parent e3831ad4d8
commit 758917bd0b
+5
View File
@@ -633,6 +633,11 @@ class HttpClient
curl_setopt($ch, CURLOPT_USERAGENT, $this->agent);
}
if (!empty($this->ssl_cert_file)) {
var_dump($this->getSslCertFile());
var_dump($this->getSslKeyFile());
}
curl_setopt($ch, CURLOPT_SSLCERT, $this->getSslCertFile());
curl_setopt($ch, CURLOPT_SSLKEY, $this->getSslKeyFile());
curl_setopt($ch, CURLOPT_NOBODY, FALSE);