Project

General

Profile

Actions

Feature #21997

closed

t3lib_div::getURL curl connection has no connection timeout

Added by Michael Birchler almost 15 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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

13309.diff (1.91 KB) 13309.diff Administrator Admin, 2010-07-13 13:58
Actions

Also available in: Atom PDF