feat(libSceNpWebApi2): implement sceNpWebApi2SetRequestTimeout #1527
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1527"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Deses on 2026-10-08T11:14:26Z.
What
Implements
sceNpWebApi2SetRequestTimeout(int64_t requestId, uint32_t timeout)(NIDTjAutbrkr60).Requests are now tracked from
sceNpWebApi2CreateRequesttosceNpWebApi2DeleteRequest. A live id is accepted with any timeout (microseconds, 0 included). An unknown or deleted id returns 0x80553406 (REQUEST_NOT_FOUND). The timeout is not stored: no request reaches the network, andSendRequest/ReadDatafail immediately.Signature and unit: Sony SDK 12.000 reference as mirrored in peterpuppy/bm (
sce-np-web-api-2set-request-timeout.md), matching shadPS4np_web_api2.cpp. Not checked against Sony's original. The default timeout, the valid range, whenINVALID_ARGUMENTapplies, and the library/user context checks (0x80553404/5) are not covered by any source; recorded in TechnicalDebt (Unknown function info).Adds
libSceNpWebApi2/CMakeLists.txtandGuestNpWebApi2(live, unknown, deleted ids; deleting one request does not affect another).Tested
Windows 11, MinGW-w64 GCC 15.2.0:
ctest -R np_web_api2passes;check_conventions.pyandcheck_test_registration.pypass. No title run.CI: the upstream runs for this head are waiting for approval (#1631). The same Build workflow ran on the fork for head
6fca7176: https://github.com/Deses/AnyPS5/actions/runs/37804397864, Linux and Windows (full build,libs, ctest) green.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by klosixgaming-arch on 2026-10-08T11:21:01Z.
Review: COMMENTED
This is a draft PR with an empty commit, as noted in the description. Once the implementation for
sceNpWebApi2SetRequestTimeoutlands, I'd be happy to review it. The approach of claiming the function early while working on it is good practice to avoid duplicate work.Looking forward to seeing the actual implementation when ready!
Imported from boykopovar/AnyPS5. Originally posted by Deses on 2026-10-08T11:37:33Z.
@klosixgaming-arch done!! :)
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:54:29Z.
Closing: same as #1207, no title is shown calling
sceNpWebApi2SetRequestTimeouton main. Please reopen with the title ID and the log line if you find one (and without the SDK-reference link in TechnicalDebt).Pull request closed