Skip to content

Commit

Permalink
Merge pull request #20 from wpdevteam/patch-1
Browse files Browse the repository at this point in the history
Add cURL 7.62.0 compatibility
  • Loading branch information
tjasko authored Aug 8, 2019
2 parents ecab9b8 + 48d2e2e commit ba3c6fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MaxCDN.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ private function execute($selected_call, $method_type, $params) {
// create curl resource
$ch = curl_init();

// force curl http/1.1
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

// set url
curl_setopt($ch, CURLOPT_URL, $req_req);

Expand Down

0 comments on commit ba3c6fb

Please sign in to comment.