allow testing lock code via async http calls

Created on 11 July 2010, almost 14 years ago
Updated 7 April 2023, about 1 year ago

its hard to test code "stampede protection" code based on our locking framework without async http requests. two examples i've been working on:

in both cases, with async http calls, if we create a test module page that takes a long time to do the work in the lock (a big image, or a page/element that just has a sleep()), and fire multiple requests at it, we could test that the code works as expected without elaborate hacks.

as we require php 5.2 or greater, we have access to the curl_multi_* functions, so we can build this support into simpletest.

✨ Feature request
Status

Closed: outdated

Version

9.5

Component
Simpletest  →

Last updated 1 day ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024