Details
-
Improvement
-
Resolution: Done
-
Medium
-
4.7.0
-
None
-
eZ Publish 4.6
Description
ezhttptool, used by the linkcheck.php cronjob, for example, uses hardcoded connection timeout values.
/lib/ezutils/classes/ezhttptool.php
@@814
if ( $justCheckURL )
{
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, 2 );
curl_setopt( $ch, CURLOPT_TIMEOUT, 15 );
curl_setopt( $ch, CURLOPT_FAILONERROR, 1 );
curl_setopt( $ch, CURLOPT_NOBODY, 1 );
}
When checking external urls, potentially slow, the possibility to adjust the timeout (by ini setting, for example) would be useful.
Attachments
Issue Links
- relates to
-
EZP-24738 Linkcheck cronjob marks valid links as invalid
- Closed