Repository navigation
feat(libSceHttp): implement auth-enabled option state - #9405
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
92776eb to
b69fe27
Compare
jotitadev
left a comment
There was a problem hiding this comment.
First execution of this test. The description notes the author's Linux host lacks AVX2, so ctest could not run there; this is the first actual run of guest_http_options for this change.
Machine: Linux x86_64, i7-8700 (6 cores / 12 threads), Ubuntu 26.04, GCC 15.2, Release, BUILD_TESTING=ON, full build. Head 9ca57cf01 (a rebase of the validated 92776eb46 onto main a6dcea927, same diff). Validated at 92776eb46 merged onto main 0c6a5bd59.
- Build ok.
guest_http_optionspasses. - Restoring
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.
|
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 PR head tested: Results (3 runs each):
GPU: the run output has no 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). |
224c045 to
8fb48c0
Compare
8fb48c0 to
0aac538
Compare
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 feat(libSceHttp): implement cookie-enabled option state #9413 and cannot compare feat(libSceHttp): report a context's pool in sceHttpGetMemoryPoolStats #8357, feat(libSceHttp): implement the cookie limit setters #8620, or feat(libSceHttp): check the arguments of sceHttpSetProxy #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. feat(libSceHttp): implement cookie-enabled option state #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)