Changed default for “conntimeout” from 8 to 5, and for “functimeout” from 45 to 10
This commit is contained in:
parent
95e4b9366e
commit
de0d67c1cf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue