Skip to content

feat(libSceHttp): accept sceHttpSetCookieSendCallback callbacks - #20689

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
justdoston:feat/http-cookie-send-callback
Nov 15, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
justdoston:feat/http-cookie-send-callback

Conversation

@justdoston

Copy link
Copy Markdown
Contributor

What

Implements sceHttpSetCookieSendCallback, which threw through NotImplemented_nid_no_patch. Like sceHttpSetCookieRecvCallback, it accepts the callback and returns 0; no request sends cookies, so the callback is never called. The signature (int id, SceHttpCookieSendCallback cbfunc, void* userArg) matches the existing declaration and Orbital's type database (PS4). The debt file records the signature source and that the callback is never called, and the cookie store entry no longer says the function is unimplemented (it is still not measured).

Tested

Linux (x86_64), Release build: guest_http (now calls sceHttpSetCookieSendCallback), guest_http_uri_locale and public_headers pass; tools/check_conventions.py --base upstream/main passes. tools/pr_overlap.py --branch could not compare #9834 and #11134 because they conflict with main; I checked both by hand, together with #18515 and #19769, and none of them changes sceHttpSetCookieSendCallback or the debt entries this PR edits.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@MarcZX10 MarcZX10 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.

Reviewed — looks good

Nothing blocks this change; the inspected code accepts the callback registration and returns success as described.

What I ran

Reviewed head 5564cc69e7a4793fde1ff49d4916e84e637d564f using the prepared review bundle and repo_read.py. No build or tests were run during this review; reported test results are from the PR description.

Results

Check Result Note
Source review passed All changed files read
Build and tests not run Results reported by author only

Findings

Blocking

None.

Non-blocking

None.

Not verified

Build and test results were not independently verified. The reviewed files were core/libs/prx/libSceHttp/Export.cpp, core/libs/tests/GuestHttp.cpp, and docs/dev/debt/libSceHttp.md; files.json excluded no changed files.

To get this to a good state

Nothing is required.

@github-actions

Copy link
Copy Markdown

Progress report (31ff08e → 5564cc6)

📈 System libraries: 41.32% (+0.0025%, +1 implemented function)

✅ 1 implemented
Library Name
libSceHttp sceHttpSetCookieSendCallback
⚪ 1 behaviourally empty (constant return or throw)
Library Name
libSceHttp sceHttpSetCookieSendCallback

Changed libraries (implemented exports)

Library Before After Change
libSceHttp 109/123 (88.62%) 110/123 (89.43%) +0.81%

@oneandonlydean
oneandonlydean merged commit 6cd3f92 into boykopovar:main Nov 15, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants