We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd6ed4c + 91d67c5 commit 7fe9d02Copy full SHA for 7fe9d02
client.php
@@ -101,7 +101,10 @@ public function send_request(array $request)
101
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
102
curl_setopt($curl, CURLOPT_POSTFIELDS, $request_json);
103
104
- if ($this->verify_ssl === false) curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
+ if ($this->verify_ssl === false) {
105
+ curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
106
+ curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
107
+ }
108
109
if ($this->debug) trigger_error("Jsonrpc20WebClient sending request: $request_json");
110
$response = curl_exec($curl);
0 commit comments