feat(libSceHttp): implement the cookie limit setters #8620
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8620"
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 Tanmay-codeol on 2026-10-20T18:40:39Z.
What
Implements
sceHttpSetCookieMaxNum,sceHttpSetCookieMaxNumPerDomain,sceHttpSetCookieMaxSizeandsceHttpSetCookieTotalMaxSize, which were throwing stubs.(int libhttpCtxId, uint32_t value)follow the Orbital type database.0x80431001and an unknown one0x80431100, assceHttpCookieFlushdoes.sceHttpAddCookie,sceHttpGetCookie,sceHttpCookieExportandsceHttpCookieImportstill throw.docs/dev/debt/libSceHttp.md.Tested
Windows 11, WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON:guest_httpandguest_http_response_headerpass. The cache flush test now covers the four setters before init, with unknown ids and with live contexts, using 0 andUINT32_MAX.guest_httpfail.tools/check_conventions.py --base origin/mainpasses.No console or title was used.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T23:22:47Z.
@Tanmay-codeol Thanks. The context checks follow
sceHttpCookieFlushexactly, the test covers before-init, unknown and live ids, and the debt entry is clear about what's assumed.One question before this can go in. CONTRIBUTING.md allows a silent stub "only when it unblocks a title and only affects the UI", and the debt entry lists these four under Silent stubs. The PR doesn't name a title that calls them. Which title or homebrew reaches one of these setters and stops on the throw today? A title ID and the call it makes (for example, "sets max cookie size right after
sceHttpInit") is enough. Without one, the throwing stub onmainis the behaviour the project wants, because it shows us the first title that needs the call.If you have one, the bar is a full CI run with
guest_httpandguest_http_response_headerpassing on Linux and Windows.Pull request closed