diff options
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class index a937212..26390eb 100644 --- a/it_url.class +++ b/it_url.class @@ -264,6 +264,7 @@ static function curl_opts($p=array()) $add += [CURLOPT_ENCODING => $p['accept_encoding']]; # NOTE: the curl library renamed the option to CURLOPT_ACCEPT_ENCODING, in php both are possible, CURLOPT_ENCODING is documented return $add + [ + CURLOPT_FORBID_REUSE => true, CURLOPT_HEADER => false, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT_MS => $p['totaltimeout'] * 1000, # use _MS to support fractions of seconds |