Skip to content

Commit

Permalink
[BUGFIX] Set HTTP timeout to 20 seconds
Browse files Browse the repository at this point in the history
To prevent infinite outgoing requests
while using RequestFactory which will exceed
max_execution_time limitation we reduce
timeout to 20 seconds.

Resolves: #102606
Releases: main, 12.4
Change-Id: I6ba432a63b6e093566f407663db13f5b4141146d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82091
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: HOJA M A <hoja@ymail.com>
Reviewed-by: HOJA M A <hoja@ymail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
  • Loading branch information
froemken authored and georgringer committed Dec 5, 2023
1 parent 2503626 commit f49f871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/core/Configuration/DefaultConfiguration.php
Expand Up @@ -1503,7 +1503,7 @@
'connect_timeout' => 10,
'proxy' => null,
'ssl_key' => null,
'timeout' => 0,
'timeout' => 20,
'verify' => true,
'version' => '1.1',
'handler' => [], // Array of callables
Expand Down

0 comments on commit f49f871

Please sign in to comment.