File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ public function __construct( $strApiKey = '' )
32
32
CURLOPT_RETURNTRANSFER => true , // return web page
33
33
CURLOPT_HEADER => true , // don't return headers
34
34
CURLOPT_FOLLOWLOCATION => true , // follow redirects
35
- CURLOPT_MAXREDIRS => 3 , // stop after 10 redirects
35
+ CURLOPT_MAXREDIRS => 3 , // stop after 3 redirects
36
36
CURLOPT_ENCODING => '' , // handle compressed
37
37
CURLOPT_USERAGENT => $ this ->_strUserAgent , // name of client
38
38
CURLOPT_AUTOREFERER => true , // set referrer on redirect
39
39
CURLOPT_CONNECTTIMEOUT => 10 , // time-out on connect
40
- CURLOPT_TIMEOUT => 10 , // time-out on response
40
+ CURLOPT_TIMEOUT => 30 , // time-out on response
41
41
CURLINFO_HEADER_OUT => true , // headers sent on request
42
42
);
43
43
curl_setopt_array ( $ this ->_curl , $ arrOptions );
You can’t perform that action at this time.
0 commit comments