Skip to content

feat(libSceHttp): implement auth-enabled option state - #9405

Merged
oneandonlydean merged 2 commits into
boykopovar:mainfrom
MarcZX10:feat/http-auth-enabled-option
Oct 23, 2026
Merged

oneandonlydean merged 2 commits into
boykopovar:mainfrom
MarcZX10:feat/http-auth-enabled-option

Conversation

@MarcZX10

@MarcZX10 MarcZX10 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What

Implement sceHttpSetAuthEnabled and sceHttpGetAuthEnabled as 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

Checklist

  • Based on current main (0c6a5bd593); no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Progress report (8b3e398 → 0aac538)

📈 System libraries: 43.24% (+0.01%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceHttp sceHttpGetAuthEnabled

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 21, 2026
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

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.

Pull request Shared files not compared
PR 8620 core/libs/prx/libSceHttp/Export.cpp
PR 9822 core/libs/prx/libSceHttp/Export.cpp
PR 9826 core/libs/prx/libSceHttp/Export.cpp

@MarcZX10
MarcZX10 force-pushed the feat/http-auth-enabled-option branch from 92776eb to b69fe27 Compare October 21, 2026 22:57
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 21, 2026

@jotitadev jotitadev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_options passes.
  • Restoring libSceHttp/Export.cpp and libSceHttp/src/Options.hpp to main and keeping the test aborts it with sceHttpGetAuthEnabled not implemented, so the test covers the change.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

@xXPBSXx

xXPBSXx commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

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 main is clean. I built only guest_http_options_tests; ctest -N -R guest_http_options lists exactly one test.

PR head tested: 9ca57cf01ad7691d547a85517a88f973383674a0.

Results (3 runs each):

  • PR head: guest_http_options passes 3/3.
  • Baseline: I kept the PR's test and replaced only these production files: core/libs/prx/libSceHttp/Export.cpp, core/libs/prx/libSceHttp/src/Options.hpp with 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 GPU line; 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).

@github-actions github-actions Bot added the prx label Oct 22, 2026
@MarcZX10
MarcZX10 force-pushed the feat/http-auth-enabled-option branch 8 times, most recently from 224c045 to 8fb48c0 Compare October 22, 2026 13:08
@MarcZX10
MarcZX10 force-pushed the feat/http-auth-enabled-option branch from 8fb48c0 to 0aac538 Compare October 22, 2026 13:31
@oneandonlydean oneandonlydean self-assigned this Oct 22, 2026
@oneandonlydean
oneandonlydean merged commit 2e0c925 into boykopovar:main Oct 23, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants