Actions
Bug #92655
closedchecking for external URLs may cause link checking to never end
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2020-10-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I just had this in production. I am starting to increase page depth of scheduler tasks. One of the scheduler tasks never ended. Also, I noticed that several scheduler tasks were running.
So, I traced this down to an URL where the loading never ends. Why this is the case there, I don't know exactly. But is also not so relevant here.
This is a problem, because once only a single link in the site points to such a site, linkvalidator checks will not work, several scheduler tasks will run and eat up resources.
Reproduce¶
- Create a PHP page with infinite loop, e.g.
<?php
while (true) {
}
- create a link to to this page
- either start a scheduler task with linkvalidator or use "Check links"
The link checking or scheduler task will not finish.
Actions