From 403373db8477c223802034df85aca6fbe6d82fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 21 May 2020 16:15:15 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 8e97896..e5a828a 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -633,11 +633,6 @@ 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);