ladybird/Libraries/LibHTTP
Andreas Kling efa7c1ec97 LibHTTP: Publish disk cache entries by rename
Write cache entries to a temporary file and rename them over the final
path only after the entry has been fully flushed. This keeps previously
mapped cache bodies tied to their original inode instead of exposing
them to truncation when the same cache key is replaced.

Clean up only the temporary file for incomplete writers so a failed
replacement does not remove the still-valid existing cache entry. Add
coverage that replaces an entry while an old body mapping remains live
and verifies that it still exposes the original bytes.
2026-05-16 08:13:35 +02:00
..
Cache LibHTTP: Publish disk cache entries by rename 2026-05-16 08:13:35 +02:00
Cookie LibHTTP: Remove unused header in ParsedCookie 2026-02-23 12:15:23 +01:00
CMakeLists.txt LibHTTP+LibWebView+RequestServer: Allow users to set disk cache limits 2026-02-13 10:20:52 -05:00
Forward.h LibHTTP+LibWeb: Move the IncludeCredentials enum to LibHTTP 2026-02-10 12:21:20 +01:00
Header.cpp LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
Header.h LibHTTP: Return a StringView from HTTP::normalize_header_value 2026-02-26 22:27:46 +01:00
HeaderList.cpp LibHTTP: Remove unused header in HeaderList 2026-02-23 12:15:23 +01:00
HeaderList.h LibHTTP: Correctly normalize header whitespace in cache utilities 2026-02-26 22:27:46 +01:00
HTTP.cpp LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
HTTP.h LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
HttpRequest.cpp LibHTTP: Remove unused header in HttpRequest 2026-02-23 12:15:23 +01:00
HttpRequest.h LibHTTP: Remove unused header in HttpRequest 2026-02-23 12:15:23 +01:00
Method.cpp LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
Method.h LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
Status.h LibHTTP+LibWeb: Remove unused HTTP::HTTPResponse 2025-11-27 14:57:29 +01:00