ladybird/Services
Timothy Flynn 7f37889ff1 RequestServer: De-duplicate some disk cache requests
We previously had no protection against the same URL being requested
multiple times at the same time. For example, if a URL did not have any
cache entry and became requested twice, we would open two cache writers
concurrently. This would result in both writers piping the response to
disk, and we'd have a corrupt cache file.

We now hold back requests under certain scenarios until existing cache
entries have completed:

* If we are opening a cache entry for reading:
  - If there is an existing reader entry, carry on as normal. We can
    have multiple readers.
  - If there is an existing writer entry, defer the request until it is
    complete.

* If we are opening a cache entry for writing:
  - If there is an existing reader or writer entry, defer the request
    until it is complete.
2025-10-28 11:52:51 +01:00
..
ImageDecoder ImageDecoder: Enable in Windows CI 2025-08-23 16:04:36 -06:00
RequestServer RequestServer: De-duplicate some disk cache requests 2025-10-28 11:52:51 +01:00
WebContent Everywhere: Remove AudioCodecPlugin and Qt Multimedia 2025-10-27 17:28:49 -07:00
WebDriver LibWebView+WebContent: Allow setting the default time zone 2025-10-23 14:42:45 +02:00
WebWorker LibWeb: Implement cookie fetching for Workers 2025-09-09 15:28:38 +02:00
CMakeLists.txt Services/WebDriver: Enable on Windows 2025-09-15 09:19:52 +02:00