mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 00:50:52 +00:00
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>
2.1 KiB
2.1 KiB
libSceHttpCache
change RemoveTag, ClearCacheInfo and both WithMemoryPool forms
- libSceHttpCache -
SetQuota, a non-nullRegisterCacheInfoUrlandRemoveTagthrow throughNotImplemented_nid_no_patchonce their arguments pass. Cached entries carry the tag of the request that stored them:CreateRequestWithTagrecords a tag of up to 31 bytes with the same user and cache checks asCreateRequest, and rejects a null, empty or longer tag with0x817a0012;Clearerases the stored entries of one user that carry the same tag, andClearAllUserTagserases every tagged entry of the listed users while untagged entries survive. A null, empty or longer tag is0x817a0012, an unknown cache is0x817a0011, and a system or unregistered user clears nothing and succeeds, asClearAlldoes. 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.Initignores 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 throughNotImplemented_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 nullpool/requiredSizeand input/resultchecks, the plain forms' parse and core, 0 writing only*resultif nothing is found, and0x817a0012after*resultfor a pool with noresponseonce something is found, keeping the lookup's update, unlike the plain forms.0x817a0012for unreadable input or unwritableresultis a host-safety fallback. Closes when: the unread routines are read.