From cdc74e59a9a771408925825caf2b87d623889485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 31 Mar 2020 15:20:31 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index afa81c6..e5b7a52 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -392,15 +392,6 @@ class HttpClient { $client = new SClient($host, $this->getHostPort(), $this->isSSL); echo $host . ':' . $this->getHostPort() . $url . PHP_EOL; - if (!empty($this->ssl_cert_file) && !empty($this->ssl_key_file)) { - echo $this->ssl_cert_file . PHP_EOL; - echo $this->ssl_key_file . PHP_EOL; - $client->set([ - 'Host' => $this->host, - 'ssl_cert_file' => $this->ssl_cert_file, - 'ssl_key_file' => $this->ssl_key_file, - ]); - } if (!empty($this->agent)) { $this->header['User-Agent'] = $this->agent; }