Commit Graph
7 Commits
Author SHA1 Message Date
Eduardo Ruiz 80edbbc665 fix(libSceHttpCache): throw for SystemClearAll after path validation 2026-11-06 23:02:27 +01:00
Eduardo Ruiz 1a478c3a81 fix(libSceHttpCache): copy system paths through the bounded helper 2026-11-05 11:05:38 +01:00
Eduardo Ruiz 10a6e74376 feat(libSceHttpCache): implement the system cache lifecycle
Recover the 11.00 wrappers' path validation for sceHttpCacheSystemInit and sceHttpCacheSystemClearAll: a non-null path of at most 0x400 bytes. SystemInit stores the path and SystemClearAll clears the host's in-memory store, because the host has no on-disk cache. SystemShutdown returns 0 as its wrapper does. The wrappers' path conversion and the console's on-disk layout are not reproduced.
2026-11-05 11:05:38 +01:00
hypermist da1a010381 refactor(libSceHttpCache): declare the cache signatures once in the library header 2026-10-25 13:54:32 +13:00
hypermistandClaude Opus 5.5 55b53c969e test(libSceHttpCache): cover an Expires earlier than Date
Firmware 13.60 subtracts Expires minus Date and Date minus Last-Modified
on unsigned ticks without comparing them, so either order wraps to a
lifetime that never runs out. Keep that behaviour, state it in the debt
doc, and cover both cases next to their in-order counterparts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 12:00:41 +13:00
hypermistandClaude Opus 5.5 6189a8393f test(libSceHttpCache): stop asserting that unimplemented paths throw
Drop the checks that the shared-store, quota, tag and null-URL paths
throw; they pinned unimplemented behaviour. The sharing-disabled and
shared-user cases and the store, hit, revalidation and error coverage
stay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 11:28:26 +13:00
hypermistandClaude Opus 5.5 695c88aaf1 feat(libSceHttpCache): cache responses with the firmware's freshness and revalidation rules
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 01:15:19 +13:00