Skip to content

feat(libSceHttp2): declare eight additional exports - #11919

Merged
oneandonlydean merged 2 commits into
boykopovar:mainfrom
kyon-eth:feat/http2-1360-inventory
Oct 28, 2026
Merged

oneandonlydean merged 2 commits into
boykopovar:mainfrom
kyon-eth:feat/http2-1360-inventory

Conversation

@kyon-eth

Copy link
Copy Markdown
Contributor

What

Declare 8 missing libSceHttp2 exports for import resolution. Every entry calls NotImplemented_nid_no_patch; no audio/network behavior, successful return, verified prototype, progress-scanner change or game unblock is claimed. The canonical public header is reachable through the library umbrella, the source is included in its production target, and technical debt records every name/NID plus the unknown argument and return types.

All selected name/NID pairs were checked against the export inventory and recomputed independently with the repository NID algorithm. The parameterless int signatures follow the repository's unknown-signature declaration convention; they are not ABI evidence.

The batch covers synchronous WebSocket send/close and close-timeout declarations, trailing headers, request server-name/proxy settings and GZIP header control. It is distinct from #11470's asynchronous WebSocket functions and #11769's unknown-NID declaration. The live scan found no duplicate exports. The declaration debt is under Unknown function info, separate from the transport-debt additions in #11575, #11586, #11630, #11769 and #11900. Incomplete comparisons remain for #11134, #11470, #11611, #11616 and #11617 because those branches already conflict with main. Their shared-file patches were reviewed manually: they change TLS/transport/WebSocket debt, linkage or tests, not these eight declarations or the new source. No dependency is required.

Export NID
sceHttp2GetAllTrailingHeaders CjxqMyx2-pU
sceHttp2SetProxyWithURL fkKvmzFNBe8
sceHttp2SetRequestServerName zx9s1Lk+O90
sceHttp2SetStripGZIPHeadersEnabled mMWZm0+7XHM
sceHttp2WebSocketClose v2hFBiyS13w
sceHttp2WebSocketSendDataMessage D1IAo-CNswA
sceHttp2WebSocketSendTextMessage jSHMX1oSE+E
sceHttp2WebSocketSetCloseTimeout 4PUc7B6Zr+c

Tested

  • Based on main 62b3ba2522.
  • macOS x86-64: compiled and linked the new declaration translation unit against the existing libc library with warnings treated as errors; checked that its dynamic export set contains exactly the selected names. This is a declaration-component build, not a full library/product build.
  • Standalone library-umbrella compilation and repository-wide public-header uniqueness/coverage audit pass.
  • All selected NIDs recompute exactly and are present as function exports in the inventory.
  • python3 tools/check_conventions.py --base origin/main, git diff --check and privacy checks pass.
  • No runtime tests of intentionally unsupported functions were added. No Linux/Windows, title or console execution is claimed.

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 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

Copy link
Copy Markdown

Progress report (62b3ba2 → 0ea5d5f)

📉 System libraries: 48.81% (-0.03%, +8 declared functions)

🆕 8 declared as stubs
Library Name
libSceHttp2 sceHttp2GetAllTrailingHeaders
libSceHttp2 sceHttp2SetProxyWithURL
libSceHttp2 sceHttp2SetRequestServerName
libSceHttp2 sceHttp2SetStripGZIPHeadersEnabled
libSceHttp2 sceHttp2WebSocketClose
libSceHttp2 sceHttp2WebSocketSendDataMessage
libSceHttp2 sceHttp2WebSocketSendTextMessage
libSceHttp2 sceHttp2WebSocketSetCloseTimeout

Changed libraries (implemented exports)

Library Before After Change
libSceHttp2 16/62 (25.81%) 16/70 (22.86%) -2.95 pp

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

I independently recomputed all eight listed NIDs with this repository’s tools/nid_names.py --name implementation; every name/NID pair matches. The declarations are explicitly labeled unverified import-resolution placeholders, and each definition throws before using arguments, which avoids presenting them as implemented behavior. Conventions, intake, eligibility, labels and report pass; Windows was still pending and product build jobs are skipped by path policy. I will recheck Windows before approval.

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

The independently computed NIDs match all eight names, the unverified-signature/throwing-placeholder boundary is clear in the diff and debt entry, and the Windows build plus all applicable policy/report checks now pass. Linux product CI was skipped by path policy; no runtime implementation is claimed.

@github-actions

github-actions Bot commented Oct 27, 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 11134 core/libs/prx/libSceHttp2/CMakeLists.txt
docs/dev/debt/libSceHttp2.md
PR 11470 core/libs/prx/libSceHttp2/CMakeLists.txt
docs/dev/debt/libSceHttp2.md
PR 11611 core/libs/prx/libSceHttp2/CMakeLists.txt
docs/dev/debt/libSceHttp2.md

@oneandonlydean oneandonlydean self-assigned this Oct 28, 2026
@oneandonlydean
oneandonlydean merged commit fe84a7b into boykopovar:main Oct 28, 2026
11 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