feat(libSceHttp2): implement sceHttp2DeleteCookieBox #3869
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3869"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by gookie-dev on 2026-10-11T18:18:45Z.
What
PPSA35943 (Graveyard Keeper 2) imports
sceHttp2DeleteCookieBox(O9ync3F-JVI), which no library exported. On currentmainthe title first stops atsceSaveDataDirNameSearch2, which open #3814 adds; with #3814 the loader stops it here:sceHttp2CreateCookieBoxnow records the ids it returns, andsceHttp2DeleteCookieBox(cookieBoxId)discards a recorded box and returns 0, or the library's invalid-id error (0x817B1100) for an id that is not a live box. The signature follows SharpProspero and the behaviour prosper's implementation; the error code is listed in TechnicalDebt as not measured on a console.Note: #3535 also changes
sceHttp2CreateCookieBox(it moves handles into one typed registry and does not add this export), so whichever of the two lands second needs a small rebase.Tested
Ubuntu 24.04, GCC 13.3, Release.
guest_http2deletes a box twice and an id that is not a box, and deletes the boxes it uses beforesceHttp2Term. It does not link onmain(nosceHttp2DeleteCookieBox) and passes with this change.--to-intel) with #3814 merged locally: stops at the line above without this change; with it, the title loads and runs into its asset loading.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T18:19:09Z.
Progress report (
e7c70a2→ce0915e)➖ System libraries: 86.23% (+0.0%, +1 implemented functions)
✅ 1 implemented
sceHttp2DeleteCookieBoxImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:18:00Z.
#3535 moved the Http2 handles into
g_handleswithHttp2Kind::CookieBox, so this now conflicts incore/libs/prx/libSceHttp2/Export.cpp. Please rebase and havesceHttp2DeleteCookieBoxerase the box from that registry instead of keeping a separateg_cookieBoxesset.Imported from boykopovar/AnyPS5. Originally posted by gookie-dev on 2026-10-12T10:27:38Z.
Rebased on main.
sceHttp2DeleteCookieBoxnow erases theHttp2Kind::CookieBoxentry fromg_handlesand returns0x817B1100for anything else; the separateg_cookieBoxesset is gone.guest_http2also checks that a box whose context was terminated can no longer be deleted.