Skip to content
Snippets Groups Projects
Commit e34d152c authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Georg Ringer
Browse files

[BUGFIX] Rework AJAX request queueing

This patch reworks the queueing system for AJAX requests sent by the
extension scanner. This implementation now really only sends the allowed
amount of concurrent requests and queues the remaining requests.

When the extension scanner gets closed, the queue gets flushed and the
remaining running requests get aborted. Since aborting a request triggers
a DOMException, the rather useless "Oops" notification gets removed.

The extension scanner now also queues requests where it actually makes
sense.

Resolves: #90279
Releases: master, 9.5
Change-Id: Ia5a64a2074fd99b8447063e2135126b7cf46e393
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63107


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarRichard Haeser <richard@maxserv.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarRichard Haeser <richard@maxserv.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 33ef6972
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment