Project

General

Profile

Actions

Feature #21997

closed

t3lib_div::getURL curl connection has no connection timeout

Added by Michael Birchler over 14 years ago. Updated about 12 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 #1

Updated by Tolleiv Nietsch about 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 #2

Updated by Dmitry Dulepov almost 14 years ago

rev 8190

Actions #3

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF