diff --git a/wcurl.php b/wcurl.php index 757b321..a9d3e27 100644 --- a/wcurl.php +++ b/wcurl.php @@ -44,6 +44,7 @@ function wcurl_setopts($ch, $method, $payload, $request_headers, $curl_opts) CURLOPT_USERAGENT => 'wcurl', CURLOPT_CONNECTTIMEOUT => 30, CURLOPT_TIMEOUT => 30, + CURLOPT_SSLVERSION => 3, ); if ('GET' == $method) @@ -94,4 +95,4 @@ function wcurl_response_headers($msg_header) return $response_headers; } -?> \ No newline at end of file +?>