fix(libSceHttp2): accept SSL options on a context #13734
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13734"
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 SnekPolylepis on 2026-10-31T03:20:00Z.
What
sceHttp2SslEnableOptionandsceHttp2SslDisableOptionnow accept a context id as well as a template or request. Divinity: Original Sin II (PPSA06866) callssceHttp2SslEnableOptionon its context about 2 s after launch and aborted there (#13715). The flags are stored in the context's settings, whichsceHttp2CreateTemplatealready copies into each new template. Flags outside0x3dstill throw, a cookie box still throws, and a terminated context returnsINVALID_ID.Source: prosper accepts both calls on any live object. The inheritance by templates created later, and whether existing templates see the change, are not established by any source; both are recorded in
docs/dev/debt/libSceHttp2.md.Fixes #13715.
Tested
Windows 11, WinLibs GCC 15.2.0, Release,
BUILD_TESTING=ON:ctest -R http2passes 8/8.guest_http2now checks that both calls return 0 on a live context, throw for unsupported flags and a cookie box, and returnINVALID_IDaftersceHttp2Term. Not run on the title: per #13715 the title then reaches its loading screen and stops on a separate AGC depth-copy error.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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-31T04:11:16Z.
Review: COMMENTED
Linux run of this head (
a97eb24fed), merged ontomain6475267b45(local only). Ubuntu 26.04 LTS (kernel 7.0), Intel Core i7-8700, GCC 15.2.0, Ninja, Release,BUILD_TESTING=ON.guest_http2passes 3 of 3;ctest -R http27/7;public_headerspasses.Export.cppback tomain(test kept):guest_http2aborts 3 of 3 withsceHttp2SslEnableOption not implemented.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.