Files
AnyPS5/docs/dev/debt/changes/feat-httpcache-memory-pool.md
RyanIsAinmDomandClaude Opus 5.5 9aaf150a42 docs(debt): correct two stale libSceHttpCache entries
Part 3 of the 13.42 reading on #21850 shows that with a pool,
RetrieveWithMemoryPool reaches its null-response check before 0x40e50,
and that RemoveTag's worker 0x21540 returns an IPMI system service's
reply. The pending fragments said otherwise; they are edited in place
because debt_fold matches changes against the debt files on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:53:11 -05:00

2.1 KiB

libSceHttpCache

change RemoveTag, ClearCacheInfo and both WithMemoryPool forms

  • libSceHttpCache - SetQuota, a non-null RegisterCacheInfoUrl and RemoveTag throw through NotImplemented_nid_no_patch once their arguments pass. Cached entries carry the tag of the request that stored them: CreateRequestWithTag records a tag of up to 31 bytes with the same user and cache checks as CreateRequest, and rejects a null, empty or longer tag with 0x817a0012; Clear erases the stored entries of one user that carry the same tag, and ClearAllUserTags erases every tagged entry of the listed users while untagged entries survive. A null, empty or longer tag is 0x817a0012, an unknown cache is 0x817a0011, and a system or unregistered user clears nothing and succeeds, as ClearAll does. Whether the console keys a tag to a user, replaces a tag on a later store of the same key, or rejects tags at these lengths has not been measured; the tag lifetime is this host's choice. Init ignores its pool size, so the pool allocation failure is not reproduced, and storing never fails, so the console's file errors are not reproduced.

add Functional

  • sceHttpCacheRetrieveWithMemoryPool and sceHttpCacheRevalidateWithMemoryPool (libSceHttpCache) - sizing or copying a found response or next request, and a null request or header with a non-null result, throw through NotImplemented_nid_no_patch: firmware 13.42's sizing (0x1aba0), pool copy (0x1aff0) and cores were not read. The rest follows the reading (disassembly only): the lookup, the null pool/requiredSize and input/result checks, the plain forms' parse and core, 0 writing only *result if nothing is found, and 0x817a0012 after *result for a pool with no response once something is found, keeping the lookup's update, unlike the plain forms. 0x817a0012 for unreadable input or unwritable result is a host-safety fallback. Closes when: the unread routines are read.