diff options
author | Nathan Gass | 2025-09-09 10:56:18 +0200 |
---|---|---|
committer | Nathan Gass | 2025-09-09 10:56:18 +0200 |
commit | cd78478397cdae2686ce90f2bb18678fc10a14f2 (patch) | |
tree | abaa6d6d59813e55cdfb679e1e33682a3375cce8 /it_url.class | |
parent | 73004cf10a28b8f0b9420c44440a5c56b0406257 (diff) | |
download | itools-cd78478397cdae2686ce90f2bb18678fc10a14f2.tar.gz itools-cd78478397cdae2686ce90f2bb18678fc10a14f2.tar.bz2 itools-cd78478397cdae2686ce90f2bb18678fc10a14f2.zip |
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 |