Skip to content

Commit 5757dba

Browse files
committed
Fix. Common. CURL parameters fixed.
1 parent 7e2f151 commit 5757dba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Cleantalk.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ private function sendRequest($data, $url, $server_timeout = 3)
303303
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
304304
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // receive server response ...
305305
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); // resolve 'Expect: 100-continue' issue
306-
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); // see http://stackoverflow.com/a/23322368
307306

308307
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Disabling CA cert verivication and
309308
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); // Disabling common name verification

0 commit comments

Comments
 (0)