Skip to content

Commit

Permalink
The ssl curl option was not set in all request functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Jahnke committed Jun 9, 2011
1 parent 893b127 commit a74bd84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ protected function _request($method, $url, $body = NULL, $ignore_status = 0) {
curl_setopt($this->http, CURLOPT_HTTPHEADER, $headers[CURLOPT_HTTPHEADER]);
curl_setopt($this->http, CURLOPT_USERAGENT, $this->user_agent);
curl_setopt($this->http, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($this->http, CURLOPT_SSL_VERIFYPEER, $this->verify_ssl);
curl_setopt($this->http, CURLOPT_VERBOSE, $this->debug_verbose);
curl_setopt($this->http, CURLOPT_COOKIE, implode(';', $this->cookies));
$content = curl_exec($this->http);
Expand Down

0 comments on commit a74bd84

Please sign in to comment.