Skip to content

Commit 48d2e2e

Browse files
authored
Update MaxCDN.php
Adds curl 7.62.0 compatibility
1 parent ecab9b8 commit 48d2e2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/MaxCDN.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ private function execute($selected_call, $method_type, $params) {
4747
// create curl resource
4848
$ch = curl_init();
4949

50+
// force curl http/1.1
51+
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
52+
5053
// set url
5154
curl_setopt($ch, CURLOPT_URL, $req_req);
5255

0 commit comments

Comments
 (0)