Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #129 from richo/features/verify_peers
Browse files Browse the repository at this point in the history
Verify peers on SSL connections
  • Loading branch information
dcramer committed Dec 10, 2013
2 parents e8900bb + 494f630 commit dac9333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Raven/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ private function send_http($url, $data, $headers=array())
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_VERBOSE, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
if ($this->http_proxy) {
curl_setopt($curl, CURLOPT_PROXY, $this->http_proxy);
}
Expand Down

0 comments on commit dac9333

Please sign in to comment.