feat(libSceHttp): implement cookie-enabled option state #9413
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9413"
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-21T21:07:40Z.
What
Implements per-object cookie-enabled option state.
sceHttpSetCookieEnabledvalidates its 0/1 argument and object lifecycle, whilesceHttpGetCookieEnabledreads the state. New connections and requests inherit the option from their parent; child changes remain isolated. The offline HTTP backend still has no cookie engine, so this change does not parse, store or send cookies.Tested
Linux:
cmake --build /tmp/AnyPS5-http-cookie-option-build --target guest_http_options_tests --parallel 4passed.ctest --test-dir /tmp/AnyPS5-http-cookie-option-build -R '^guest_http_options$' --output-on-failurecould not execute the test: this host's Intel Xeon E5-1620 v2 lacks AVX2, FMA, BMI1, BMI2, LZCNT and MOVBE required by AnyPS5.python3 tools/check_conventions.py --base upstream/main,python3 tools/pr_overlap.py --branch feat/http-cookie-enabled-option, andgit diff --checkpassed. No PS5 hardware run.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 jotitadev on 2026-10-21T23:34:03Z.
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. Head8b0ef9dc6(a rebase of the validatedae9da63f2ontomaina6dcea927, same diff). Validated atae9da63f2merged ontomain0c6a5bd59.guest_http_optionspasses.libSceHttp/Export.cppandlibSceHttp/src/Options.hpptomainand keeping the test aborts it withsceHttpGetCookieEnabled 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:56Z.
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:
8b0ef9dc6565a2291579156fc3ee1c3f06d4390e.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).