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 = '' )
3232 CURLOPT_RETURNTRANSFER => true , // return web page
3333 CURLOPT_HEADER => true , // don't return headers
3434 CURLOPT_FOLLOWLOCATION => true , // follow redirects
35- CURLOPT_MAXREDIRS => 3 , // stop after 10 redirects
35+ CURLOPT_MAXREDIRS => 3 , // stop after 3 redirects
3636 CURLOPT_ENCODING => '' , // handle compressed
3737 CURLOPT_USERAGENT => $ this ->_strUserAgent , // name of client
3838 CURLOPT_AUTOREFERER => true , // set referrer on redirect
3939 CURLOPT_CONNECTTIMEOUT => 10 , // time-out on connect
40- CURLOPT_TIMEOUT => 10 , // time-out on response
40+ CURLOPT_TIMEOUT => 30 , // time-out on response
4141 CURLINFO_HEADER_OUT => true , // headers sent on request
4242 );
4343 curl_setopt_array ( $ this ->_curl , $ arrOptions );
You can’t perform that action at this time.
0 commit comments