From cd78478397cdae2686ce90f2bb18678fc10a14f2 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Tue, 9 Sep 2025 10:56:18 +0200 Subject: disable connection reuse as it leads to problems with search_mt.class --- it_url.class | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3