feat(libSceHttp): implement auth-enabled option state #9405
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9405"
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 MarcZX10 on 2026-10-21T20:53:07Z.
What
Implement
sceHttpSetAuthEnabledandsceHttpGetAuthEnabledas stateful HTTP object options. The getter signature follows the SDK headers; the setter stores the value in the existing per-object option table, and connections and requests inherit it from their parent at creation. The disabled default and option validation behavior follow the neighboring option model and remain unverified on PS5 hardware. This offline backend does not send requests, so the value only affects getter readback. Cookie-enabled state remains in #9413, sequenced after this PR because the branches modify shared option and test files.Tested
guest_http_options_testssuccessfully with CMake/Ninja.ctestinvocation aborts beforemainon this host: AnyPS5 requires Zen 2 CPU extensions that the Intel Xeon E5-1620 v2 host lacks.GuestHttpOptions.cppand a temporary throwing-stub shim; the executable passed (HTTP option tests passed).python3 tools/check_conventions.py --base upstream/mainpassed.python3 tools/pr_overlap.py --branch codex/rebase-9405 --repo boykopovar/AnyPS5reports the intentional shared option/test hunks with #9413 and cannot compare #8357, #8620, or #9229 because those branches conflict withmain. I manually inspected their changed exports: memory-pool statistics, cookie limits, and proxy handling are distinct from the auth-enabled exports. #9413 now listsDepends on: #9405.git diff --checkpassed.c++ -std=c++20 -fsyntax-only -I core/libs core/libs/prx/libSceHttp/Export.cpppassed.Checklist
main(0c6a5bd593); 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 github-actions[bot] on 2026-10-21T20:53:57Z.
Progress report (
8b3e398→0aac538)📈 System libraries: 43.24% (+0.01%, +1 implemented functions)
✅ 1 implemented
sceHttpGetAuthEnabledImported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-21T23:34:01Z.
Review: COMMENTED
First execution of this test. The description notes the author's Linux host lacks AVX2, so
ctestcould not run there; this is the first actual run ofguest_http_optionsfor this change.Machine: Linux x86_64, i7-8700 (6 cores / 12 threads), Ubuntu 26.04, GCC 15.2, Release,
BUILD_TESTING=ON, full build. Head9ca57cf01(a rebase of the validated92776eb46ontomaina6dcea927, same diff). Validated at92776eb46merged ontomain0c6a5bd59.guest_http_optionspasses.libSceHttp/Export.cppandlibSceHttp/src/Options.hpptomainand keeping the test aborts it withsceHttpGetAuthEnabled not implemented, so the test covers the change.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-21T23:59:48Z.
Independent Windows run of this PR (data only).
Environment: Windows 10 Pro 10.0.19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release, BUILD_TESTING=ON. Merge-tree of the PR head against
mainis clean. I built onlyguest_http_options_tests;ctest -N -R guest_http_optionslists exactly one test.PR head tested:
9ca57cf01ad7691d547a85517a88f973383674a0.Results (3 runs each):
guest_http_optionspasses 3/3.core/libs/prx/libSceHttp/Export.cpp,core/libs/prx/libSceHttp/src/Options.hppwith the version from the PR's merge base (a6dcea9279), then rebuilt. The test fails 3/3 (exit 0xc0000409). I restored the PR's files afterwards.GPU: the run output has no
Selected GPUline; no GPU claim is made.Not run: other platforms, the other tests in the same family, the full repository CTest, and any title or console run.
AI-assisted (Claude Code).