#92655checking for external URLs may cause link checking to never end
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.