feat(libSceHttp): accept sceHttpSetRecvBlockSize #2857

Merged
babyhuey merged 1 commit from upstream-pr/2857 into main 2026-10-10 18:26:47 +00:00
babyhuey commented 2026-10-10 16:48:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-10T16:48:21Z.


What

Exports sceHttpSetRecvBlockSize (mMcB2XIDoV4) from libSceHttp with the (int id, u32 blockSize) signature shadPS4 uses. No request reaches the network here, so there is no response body to read in blocks; it returns 0 like sceHttpSetResponseHeaderMaxSize, and the existing libSceHttp line in TechnicalDebt (silent stubs) now names it.

ProsperoLichess (PPSA99009) stops at it on main 57f96fd2 (catalog build, eboot.bin and sce_module/libc.prx unwrapped as #2605 requires; tracked in #1578):

  • main, Linux: app.elf: symbol lookup error: app.elf: undefined symbol: mMcB2XIDoV4
  • with this PR, Linux: app.elf: symbol lookup error: app.elf: undefined symbol: 04AjkP0jO9U (_umtx_op, #1482)
  • with this PR, Windows: FAIL: unresolved ELF import 04AjkP0jO9U (_umtx_op) from libkernel.prx

Tested

Linux (Ubuntu 24.04, GCC 13, Release) on 57f96fd2: guest_http passes 5/5 (--repeat until-fail:5), with a new line calling sceHttpSetRecvBlockSize. Windows 11 (MinGW-w64 GCC 15.2 from WinLibs, Release): guest_http 5/5 and the Lichess line above, on the same commit rebased onto 197ffac9 (the rebase onto 57f96fd2 had no conflicts and changes nothing in these files). check_conventions.py passes.

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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4812851193 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2857). Originally posted by [babyhuey](https://github.com/babyhuey) on 2026-10-10T16:48:21Z. --- ### What Exports `sceHttpSetRecvBlockSize` (`mMcB2XIDoV4`) from libSceHttp with the `(int id, u32 blockSize)` signature shadPS4 uses. No request reaches the network here, so there is no response body to read in blocks; it returns 0 like `sceHttpSetResponseHeaderMaxSize`, and the existing libSceHttp line in TechnicalDebt (silent stubs) now names it. ProsperoLichess (PPSA99009) stops at it on `main` 57f96fd2 (catalog build, `eboot.bin` and `sce_module/libc.prx` unwrapped as #2605 requires; tracked in #1578): - `main`, Linux: `app.elf: symbol lookup error: app.elf: undefined symbol: mMcB2XIDoV4` - with this PR, Linux: `app.elf: symbol lookup error: app.elf: undefined symbol: 04AjkP0jO9U` (`_umtx_op`, #1482) - with this PR, Windows: `FAIL: unresolved ELF import 04AjkP0jO9U (_umtx_op) from libkernel.prx` ### Tested Linux (Ubuntu 24.04, GCC 13, Release) on 57f96fd2: `guest_http` passes 5/5 (`--repeat until-fail:5`), with a new line calling `sceHttpSetRecvBlockSize`. Windows 11 (MinGW-w64 GCC 15.2 from WinLibs, Release): `guest_http` 5/5 and the Lichess line above, on the same commit rebased onto 197ffac9 (the rebase onto 57f96fd2 had no conflicts and changes nothing in these files). `check_conventions.py` passes. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-10 16:48:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T16:48:44Z.


Progress report (57f96fd → e203c43)

➖ System libraries: 84.52% (+0.0%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceHttp sceHttpSetRecvBlockSize
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6099874974 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2857#issuecomment-6099874974). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T16:48:44Z. --- <!-- progress-report --> ### Progress report (57f96fd → e203c43) ➖ **System libraries**: 84.52% (+0.0%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceHttp | `sceHttpSetRecvBlockSize` | </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!2857
No description provided.