Actions
Feature #21997
closedt3lib_div::getURL curl connection has no connection timeout
Start date:
2010-01-20
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
Description
If you get content from a foreign server through t3lib_div::getURL in frontend and $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlUse'] is true the content is fetched with curl. If the foreign server is down the TYPO3 page hangs till php max_execution_time is reached. I think this is not a good behavior.
I think the curl option CURLOPT_CONNECTTIMEOUT should be integrated by default.
For additional, it would be great if accessory curloptions are configurable or passable by parameter.
(issue imported from #M13309)
Files
Updated by Tolleiv Nietsch over 14 years ago
To add up something for the request it would be great to have these as well:
CURLOPT_SSL_VERIFYPEER ( default = TRUE)
CURLOPT_SSL_VERIFYHOST
CURLOPT_CAINFO
CURLOPT_CAPATH
Actions