feat(libSceNpWebApi2): accept sceNpWebApi2SetRequestTimeout #1207

Closed
CnRJay wants to merge 1 commit from upstream-pr/1207 into main
CnRJay commented 2026-10-07 17:34:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-07T17:34:53Z.


What

sceNpWebApi2SetRequestTimeout(requestId, timeout) returns 0. Every NpWebApi2 request already fails without being sent, so there is nothing for the timeout to limit and it is not stored. The signature follows shadPS4. Added a TechnicalDebt entry with the signature source.

Tested

Ubuntu 24.04, GCC 13.3, Release build. libSceNpWebApi2.prx builds. No test was added: the function only returns 0, so a test would only check that it is exported. The full ctest run also passes, except agc_driver_flip, which failed only under -j8 and passes when run alone.
Also checked on Windows 11 (MinGW GCC Release build): libSceNpWebApi2 builds.

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

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4776209675 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1207). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-07T17:34:53Z. --- ### What `sceNpWebApi2SetRequestTimeout(requestId, timeout)` returns 0. Every NpWebApi2 request already fails without being sent, so there is nothing for the timeout to limit and it is not stored. The signature follows shadPS4. Added a TechnicalDebt entry with the signature source. ### Tested Ubuntu 24.04, GCC 13.3, Release build. `libSceNpWebApi2.prx` builds. No test was added: the function only returns 0, so a test would only check that it is exported. The full `ctest` run also passes, except `agc_driver_flip`, which failed only under `-j8` and passes when run alone. Also checked on Windows 11 (MinGW GCC Release build): `libSceNpWebApi2` builds. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-07 17:41:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T17:41:20Z.


Progress report (cea1ef1 → 7a750ac)

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

✅ 1 implemented
Library Name
libSceNpWebApi2 sceNpWebApi2SetRequestTimeout
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6043440915 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1207#issuecomment-6043440915). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-07T17:41:20Z. --- <!-- progress-report --> ### Progress report (cea1ef1 → 7a750ac) 📈 **System libraries**: 86.05% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceNpWebApi2 | `sceNpWebApi2SetRequestTimeout` | </details>
oneandonlydean commented 2026-10-08 02:49:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T02:49:31Z.


Closing: titles import sceNpWebApi2SetRequestTimeout, but no log shows one calling it on main, and returning 0 without keeping the timeout is a silent stub. If a title stops here, please comment with the title ID and the log line, and it can be reopened.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6051159032 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1207#issuecomment-6051159032). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T02:49:31Z. --- Closing: titles import `sceNpWebApi2SetRequestTimeout`, but no log shows one calling it on main, and returning 0 without keeping the timeout is a silent stub. If a title stops here, please comment with the title ID and the log line, and it can be reopened.

Pull request closed

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!1207
No description provided.