feat(libSceHttp): accept the SSL version, SSL error and redirect and cookie callback calls #1206
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1206"
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 CnRJay on 2026-10-07T17:34:50Z.
What
Implements
sceHttpsSetSslVersion,sceHttpsGetSslError,sceHttpSetRedirectCallbackandsceHttpSetCookieRecvCallback. Before this change they were declared without parameters and threw (PPSA23566 imports).No request reaches the network, so:
sceHttpsGetSslErrorreports error 0 with detail 0.A null
errNumordetailreturnsSCE_HTTP_ERROR_INVALID_VALUE, assceHttpGetLastErrnodoes. Signatures follow shadPS4. Adds theHttpRedirectCallbackandHttpCookieRecvCallbacktypes toSceTypes.hpp. TechnicalDebt changes:Tested
Ubuntu 24.04, GCC 13.3, Release build.
guest_httppasses with new checks: each setter returns 0,sceHttpsGetSslErrorwrites 0/0, and a nullerrNumordetailreturnsINVALID_VALUE. The fullctestrun also passes, exceptagc_driver_flip, which failed only under-j8and passes when run alone.Also checked on Windows 11 (MinGW GCC Release build):
guest_httppasses.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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T17:41:13Z.
Progress report (
ac951f8→3ed954f)📈 System libraries: 85.37% (+0.14%, +4 implemented functions)
✅ 4 implemented
sceHttpSetCookieRecvCallbacksceHttpSetRedirectCallbacksceHttpsGetSslErrorsceHttpsSetSslVersionImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-08T09:09:18Z.
Checked the signatures against shadPS4 and SharpProspero (they agree), the callback typedefs against shadPS4, and the TechnicalDebt entries (silent stub, signature source, PPSA23566 line removed).
guest_httpfails to build without the change and passes with it; full ctest passes on the rebased head, CI is green.Only a mechanical conflict in
docs/dev/TechnicalDebt.md; rebased onto currentmain. Merging once CI is green on the rebased head.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T09:18:18Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/SceTypes.hppL1221core/libs/tests/GuestHttp.cppL25docs/dev/TechnicalDebt.mdL35, L176