Changed default for “conntimeout” from 8 to 5, and for “functimeout” from 45 to 10

This commit is contained in:
pezcurrel 2023-12-31 20:36:18 +01:00
parent 95e4b9366e
commit de0d67c1cf

View file

@ -1,6 +1,6 @@
<?php
function gurl($url,$conntimeout=8,$functimeout=45,$headers=[]) {
function gurl($url,$conntimeout=5,$functimeout=10,$headers=[]) {
$curli=curl_init();
// i 2 qui sotto servono a far sì che ctrl+c sia intercettato a monte
/*curl_setopt($curli,CURLOPT_NOPROGRESS,false);