Browse Source

fix CURLOPT_REDIR_PROTOCOLS values

pull/63/head
Nicolas Roman 1 year ago
parent
commit
b44a70f089
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/letsencrypt.php

+ 1
- 1
lib/letsencrypt.php View File

@ -31,7 +31,7 @@ class LetsEncrypt
curl_setopt($curl_handles[$key], CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl_handles[$key], CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl_handles[$key], CURLOPT_MAXREDIRS, 3);
curl_setopt($curl_handles[$key], CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP, CURLPROTO_HTTPS);
curl_setopt($curl_handles[$key], CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
curl_setopt($curl_handles[$key], CURLOPT_RETURNTRANSFER, true);
curl_multi_add_handle($curl_multi, $curl_handles[$key]);


Loading…
Cancel
Save