Project

General

Profile

Actions

Bug #92655

closed

checking for external URLs may cause link checking to never end

Added by Sybille Peters about 4 years ago. Updated almost 4 years ago.

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

  1. Create a PHP page with infinite loop, e.g.
<?php
while (true) {

}

  1. create a link to to this page
  2. either start a scheduler task with linkvalidator or use "Check links"

The link checking or scheduler task will not finish.

Actions

Also available in: Atom PDF