Skip to content

feat(libSceHttp): implement sceHttpSetCookieEnabled - #4074

Closed
jagrat04 wants to merge 1 commit into
boykopovar:mainfrom
jagrat04:feat/libSceHttp
Closed

jagrat04 wants to merge 1 commit into
boykopovar:mainfrom
jagrat04:feat/libSceHttp

Conversation

@jagrat04

Copy link
Copy Markdown
Contributor

What

Implement sceHttpSetCookieEnabled in libSceHttp.
Accepts enable states 0 and 1 without a cookie engine (offline backend), rejecting other values with ERROR_INVALID_VALUE.
Added unit tests in core/libs/tests/GuestHttp.cpp and documented under silent stubs in docs/dev/TechnicalDebt.md.

Tested

  • Windows 11, MinGW-w64 GCC 15.2.0.
  • python tools/check_conventions.py passed with 0 violations.

Checklist

  • Based on current main; 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 in TechnicalDebt
  • 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
  • AI-assisted: yes

@github-actions

Copy link
Copy Markdown

Progress report (ba08a15 → 4ed0ff9)

📈 System libraries: 86.5% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceHttp sceHttpSetCookieEnabled

@oneandonlydean

Copy link
Copy Markdown
Collaborator

Closing: sceHttpSetCookieEnabled(id, 1) throws on main on purpose, and PPSA01521, the title in the TechnicalDebt entry this removes, only passes 0. Reopen with the title ID and the log line of a title that stops on enabling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs needs rebase Conflicts with main, rebase needed prx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants