fix(libSceHttp2): return the console's codes for timeouts, aborts and closed connections #17735

Merged
kali113 merged 7 commits from upstream-pr/17735 into main 2026-11-12 04:59:24 +00:00
kali113 commented 2026-11-09 13:33:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kali113 on 2026-11-09T13:33:47Z.


What

libSceHttp2 threw NotImplemented on ordinary network failures: an expired deadline, sceHttp2AbortRequest, a server that closes before the HTTP/1.x headers end, a reset over http://, and another sceHttp2SendRequest after a complete response. This returns the codes a PS5 payload measured for each of them, on the owner's jailbroken PS5 (sceKernelGetSystemSwVersion reports 13.590.001; the owner calls it 13.60). Cases the payload did not settle still throw.

Case Console result Measured over
Overall timeout (sceHttp2SetTimeOut), also during DNS and the TLS handshake 0x817B1068 http://, HTTPS/1.1, HTTP/2
Receive timeout (sceHttp2SetRecvTimeOut) 0x817B1222 http:// (send and read), HTTPS/1.1, HTTP/2 (send)
sceHttp2AbortRequest during a send or a read 0x817B1080 http://, HTTPS/1.1, HTTP/2, TLS handshake
Abort before the first send: abort returns 0, then the send returns 0x817B1080 http://
Peer closes before the HTTP/1.x headers end (after the request, or mid-header) 0x817B1064 http://, HTTPS/1.1
Connect timeout (sceHttp2SetConnectTimeOut) on an unroutable address 0x817B1221 http://
Send timeout (8 MiB POST to a server that never reads) 0x817B1223 http://
Peer resets the connection 0x80410136 http://
Body shorter than its Content-Length, then close reads 5, then 0, then 0 http://
Another send after a complete response 0x817B1066 HTTPS/1.1

After a failed send, the follow-ups match what the debt file already records: sceHttp2GetStatusCode returns 0 and stores 0, the content length and read calls return 0x817B1065, and another send repeats the error. After a failed read, the read error repeats and the status and content length stay readable (status 200, length 100).

Changes:

  • Transport.cpp: every deadline carries the code for its phase; the overall deadline wins when it is earlier. A cancelled or expired request raises an internal failure that Send and Read turn into the measured code (networkResult for a send, a new sticky readResult for a read). Unmeasured phases keep code 0 and still throw: the TLS handshake past its connect deadline (the console did not apply the connect timeout there: a 1 s one let a stalled handshake run 20 s until the probe aborted it), send timeouts over TLS, resolve timeouts, and deleting a request, template or context during an operation. A peer close mid-header raises 0x817B1064; chunk-framing truncation still throws. sceHttp2GetResponseContentLength's gzip path converts the internal failure back into a throw, since it is unmeasured.
  • Export.cpp: sceHttp2AbortRequest creates the transport for a request that has not been sent (not for WebSocket handles), so the abort sticks, as on the console.
  • Tests: an http:// variant of the HTTP/1 fixture with stall-request, close and reset modes, 12 cases for the table above, and one for the gzip length path. Existing TLS deadline and cancellation tests now expect the measured codes where they apply and still expect a throw where they do not.
  • docs/dev/debt/libSceHttp2.md: a new "measured failures" entry; the error-path and SSL-callback entries are shortened.

Applied beyond what was measured, and named as such in the debt entry: abort before a send, 0x817B1066 and read-phase receive timeouts over every scheme. All three come from libSceHttp2's request state, not the transport, and every code that was measured over more than one scheme matched.

Not in this PR:

  • DNS lookup failures, which #17570 maps. The payload confirms its codes for HTTP: NXDOMAIN gave 0x804101E6 and a refused connection 0x8041013D, both sync and async.
  • The async calls (#11630, #16231). The payload's async results are posted on #11630.

Two more console observations that change no code here:

  • sceHttp2SslDisableOption(…, 0x3d) hung the payload, on a template and on a request.
  • sceHttp2Init with a 1 MiB pool and 8 requests returned 0x817B121C; 256 KiB and 1 request worked.

Tested

  • Console: PS5 on firmware 13.590.001, a payload built with ps5-payload-sdk v0.45, against Python servers on the LAN (plain, TLS with a self-signed certificate accepted through sceHttp2SetSslCallback, and HTTP/2 via ALPN h2). DNS was a local resolver that answers NXDOMAIN to every name and drops queries for the resolve-timeout case. Four runs; the logs and the probe source are below and in the first comment.
  • AnyPS5: a full -DBUILD_TESTING=ON Release build in an x86-64 Ubuntu 26.04 container under Rosetta 2 on Apple Silicon, GCC 15.2. That is emulation, not native hardware.
    • All 14 guest_http2* tests pass, three runs in a row; guest_http2_transport takes 8.8 s and guest_http2_http1 7.1 s.
    • Everything that links libSceHttp2 passes: the 8 guest_curl* tests, guest_avplayer_http, avplayer_http_transport, avplayer_http_patched_modules, guest_http_client and guest_memory_pool_stats.
    • The new gzip length test aborts on the leaked internal failure without the fix and passes with it.
    • python3 tools/check_conventions.py --base origin/main passes.
  • 0d73753391: the cleartext short-body test now reads until the body ends, and a variant delivers the body in two pieces. Syntax-checked only; not run.
  • Not tested:
    • Windows was not run here. JJenkx ran the guest_http2* tests on Windows 11 (WinLibs GCC 15.2 UCRT, Release) on head 5b6febc388: all pass, 3 of 3 runs, including guest_http2_http1 with the reset fixture's closesocket branch (comment). The hosted Windows job does not run these tests on pull requests.
    • An OS-level stalled http:// connect. The connect timeout is tested with an injected pending connect instead.
  • Overlap: tools/pr_overlap.py reports textual overlaps only. #11630, #15221 and #16231 touch the test fixture's Mode line and nearby debt lines; #14212 touches the debt file. None maps these codes.
Run 1 and 2 log: init failure, then plain HTTP and async
http2probe start, sw version: 13.590.001
init: net=0x00000000 pool=3000 ssl=1 http2=0x817b121c
template -> 0x817b1100
http2probe start, sw version: 13.590.001
init: net=0x00000000 pool=3000 ssl=1
sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001
template -> 0x50000001
[ok] SendRequest -> 0x00000000 after 12 ms
  GetStatusCode -> 0x00000000 status=200
  DeleteRequest -> 0x00000000
[dns] SendRequest -> 0x804101e6 after 6 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
  SetResolveTimeOut -> 0x00000000
[dns-resolve-timeout-1s] SendRequest -> 0x804101e6 after 5 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
[refused] SendRequest -> 0x8041013d after 6 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
  SetRecvTimeOut -> 0x00000000
[recv-timeout-1s] SendRequest -> 0x817b1222 after 1006 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
  SetTimeOut -> 0x00000000
[total-timeout-1s] SendRequest -> 0x817b1068 after 1001 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
  SetConnectTimeOut -> 0x00000000
[connect-timeout-1s] SendRequest -> 0x817b1221 after 1000 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
[peer-closes] SendRequest -> 0x817b1064 after 12 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
[peer-resets] SendRequest -> 0x80410136 after 12 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
[not-http] SendRequest -> 0x80432060 after 11 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
[abort-during-send] SendRequest -> 0x817b1080 after 1008 ms, AbortRequest -> 0x00000000
  GetStatusCode -> 0x00000000 status=0
  second SendRequest -> 0x817b1080
CreateEqueue -> 0x00000000
AddUserEvent(0x77) -> 0x00000000
[async-slow] SendRequestAsync -> 0x00000000 after 167 us (req 1610612748)
[async-slow zero-timeout pending] WaitAsync(timeout=0) -> 0x817b1079 after 216 us, timeout now 0
  after zero wait result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 
[async-slow 300ms pending] WaitAsync(timeout=300000) -> 0x817b1079 after 300911 us, timeout now 0
  after 300ms wait result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 
[async-slow equeue] WaitEqueue -> 0x00000000 out=1 after 1703 ms
  ev[0] ident=0x77 filter=-11 flags=0x0 fflags=0x0 data=0x0 udata=1234
[async-slow 5s completed] WaitAsync(timeout=5000000) -> 0x00000000 after 9 us, timeout now 5000000
  completed result: event_type=0 req_id=1610612748 result=0x00000000 reserved=0 raw=00 00 00 00 0c 00 00 60 00 00 00 00 aa aa aa aa 00 00 00 00 00 00 00 00 
[async-slow zero-timeout drained] WaitAsync(timeout=0) -> 0x817b1065 after 4 us, timeout now 0
  after drained zero wait result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 
  GetStatusCode -> 0x00000000 status=200
[async-read] ReadDataAsync -> 0x00000000
[async-read equeue] WaitEqueue -> 0x00000000 out=1 after 0 ms
  ev[0] ident=0x77 filter=-11 flags=0x0 fflags=0x0 data=0x0 udata=1234
[async-read] WaitAsync(timeout=3000000) -> 0x00000000 after 5 us, timeout now 3000000
  read result: event_type=1 req_id=1610612748 result=0x00000005 reserved=0 raw=01 00 00 00 0c 00 00 60 05 00 00 00 aa aa aa aa 00 00 00 00 00 00 00 00 
  body: 'slow!'
[async-no-option] SendRequestAsync(NULL option) -> 0x00000000
[async-no-option] WaitAsync(timeout=3000000) -> 0x00000000 after 11847 us, timeout now 2988164
  no-option result: event_type=0 req_id=1610612749 result=0x00000000 reserved=0 raw=00 00 00 00 0d 00 00 60 00 00 00 00 aa aa aa aa 00 00 00 00 00 00 00 00 
[async-dns] SendRequestAsync -> 0x00000000
[async-dns equeue] WaitEqueue -> 0x00000000 out=1 after 0 ms
  ev[0] ident=0x77 filter=-11 flags=0x0 fflags=0x0 data=0x0 udata=1234
[async-dns] WaitAsync(timeout=5000000) -> 0x00000000 after 6264 us, timeout now 4993747
  dns result: event_type=0 req_id=1610612750 result=0x804101e6 reserved=0 raw=00 00 00 00 0e 00 00 60 e6 01 41 80 aa aa aa aa 00 00 00 00 00 00 00 00 
  GetStatusCode -> 0x00000000 status=0
[async-refused] SendRequestAsync -> 0x00000000
[async-refused] WaitAsync(timeout=5000000) -> 0x00000000 after 3663 us, timeout now 4996347
  refused result: event_type=0 req_id=1610612751 result=0x8041013d reserved=0 raw=00 00 00 00 0f 00 00 60 3d 01 41 80 aa aa aa aa 00 00 00 00 00 00 00 00 
[idle zero-timeout] WaitAsync(timeout=0) -> 0x817b1065 after 4 us, timeout now 0
  idle zero result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 
[idle 200ms] WaitAsync(timeout=200000) -> 0x817b1065 after 4 us, timeout now 200000
  idle 200ms result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 
http2probe done
Run 3 log: read phase, truncation, aborts, resolve and send timeouts (the HTTPS part hung in sceHttp2SslDisableOption)
http2probe start, sw version: 13.590.001
init: net=0x00000000 pool=3000 ssl=1
sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001
template -> 0x50000001
template v2 -> 0x50000002
http2probe start, sw version: 13.590.001
init: net=0x00000000 pool=3000 ssl=1
sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001
template -> 0x50000001
template v2 -> 0x50000002
  SetRecvTimeOut -> 0x00000000
[body-stall recv-timeout-1s] SendRequest -> 0x00000000 status=200 ContentLength -> 0x00000000 kind=0 len=100
  ReadData #1 -> 0x817b1222 after 999 ms
  ReadData #2 -> 0x817b1222 after 0 ms
  ReadData #3 -> 0x817b1222 after 0 ms
  GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=100; ReadData -> 0x817b1222
  DeleteRequest -> 0x00000000
[body-close] SendRequest -> 0x00000000 status=200 ContentLength -> 0x00000000 kind=0 len=100
  ReadData #1 -> 0x00000005 after 302 ms
  ReadData #2 -> 0x00000000 after 0 ms
  ReadData #3 -> 0x00000000 after 0 ms
  GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=100; ReadData -> 0x00000000
  DeleteRequest -> 0x00000000
[body-stall abort-during-read] SendRequest -> 0x00000000 status=200 ContentLength -> 0x00000000 kind=0 len=100
  ReadData #1 -> 0x817b1080 after 1008 ms (watchdog aborted the request)
  ReadData #2 -> 0x817b1080 after 0 ms
  ReadData #3 -> 0x817b1080 after 0 ms
  GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=100; ReadData -> 0x817b1080
  DeleteRequest -> 0x00000000
[headers-truncated-then-close] SendRequest -> 0x817b1064 after 372 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
[abort-before-send] AbortRequest -> 0x00000000
  SendRequest -> 0x817b1080
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
[abort-during-connect] SendRequest -> 0x817b1080 after 1008 ms, AbortRequest -> 0x00000000
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1080
  DeleteRequest -> 0x00000000
  SetResolveTimeOut -> 0x00000000
[resolve-timeout-1s (dropped query)] SendRequest -> 0x804101e2 after 31992 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
  SetTimeOut -> 0x00000000
[total-timeout-1s during resolve (dropped query)] SendRequest -> 0x817b1068 after 1000 ms
  GetStatusCode -> 0x00000000 status=0
  DeleteRequest -> 0x00000000
  SetSendTimeOut -> 0x00000000
[send-timeout-1s] POST 8 MiB SendRequest -> 0x817b1223 after 1041 ms
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  DeleteRequest -> 0x00000000
  SetTimeOut -> 0x00000000
[total-timeout-1s during upload] POST 8 MiB SendRequest -> 0x817b1068 after 1000 ms
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  DeleteRequest -> 0x00000000
  SetRecvTimeOut -> 0x00000000
[h1 cleartext recv-timeout-1s (v2 template)] SendRequest -> 0x817b1222 after 1005 ms
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1222
  DeleteRequest -> 0x00000000
[h1 cleartext headers-truncated (v2 template)] SendRequest -> 0x817b1064 after 315 ms
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1064
  DeleteRequest -> 0x00000000
[h1 cleartext not-http (v2 template)] SendRequest -> 0x80432060 after 11 ms
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x00000000 kind=1 len=0; ReadData -> 0x817b1065
  second SendRequest -> 0x80432060
  DeleteRequest -> 0x00000000
[h2-tls silent recv-timeout-1s] calling SslDisableOption(request, 0x3d)
Run 4 log: HTTPS/1.1, HTTP/2 and TLS handshake, with an SSL callback that accepts the chain
http2probe start, sw version: 13.590.001
init: net=0x00000000 pool=3000 ssl=1
sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001
template -> 0x50000001
template v2 -> 0x50000002
[h1-tls ok (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
[h1-tls ok (v2)] SendRequest -> 0x00000000 after 52 ms, ssl callback calls 1, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=5; ReadData -> 0x00000005
  ReadData -> 0x00000000 ''
  second SendRequest -> 0x817b1066
  DeleteRequest -> 0x00000000
[h1-tls ok (v3)] calling SetSslCallback
  SetSslCallback -> 0x00000000
[h1-tls ok (v3)] SendRequest -> 0x00000000 after 40 ms, ssl callback calls 1, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=5; ReadData -> 0x00000005
  ReadData -> 0x00000000 ''
  second SendRequest -> 0x817b1066
  DeleteRequest -> 0x00000000
[h1-tls silent recv-timeout-1s (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
  SetRecvTimeOut -> 0x00000000
[h1-tls silent recv-timeout-1s (v2)] SendRequest -> 0x817b1222 after 1035 ms, ssl callback calls 1, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1222
  DeleteRequest -> 0x00000000
[h1-tls silent total-timeout-1s (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
  SetTimeOut -> 0x00000000
[h1-tls silent total-timeout-1s (v2)] SendRequest -> 0x817b1068 after 1000 ms, ssl callback calls 1, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1068
  DeleteRequest -> 0x00000000
[h1-tls silent abort (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
[h1-tls silent abort (v2)] SendRequest -> 0x817b1080 after 1009 ms, ssl callback calls 1, last verify errors 0x20 (aborted)
  AbortRequest -> 0x00000000
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1080
  DeleteRequest -> 0x00000000
[h1-tls peer closes after request (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
[h1-tls peer closes after request (v2)] SendRequest -> 0x817b1064 after 27 ms, ssl callback calls 1, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1064
  DeleteRequest -> 0x00000000
[h2-tls silent recv-timeout-1s (v3)] calling SetSslCallback
  SetSslCallback -> 0x00000000
  SetRecvTimeOut -> 0x00000000
[h2-tls silent recv-timeout-1s (v3)] SendRequest -> 0x817b1222 after 1019 ms, ssl callback calls 1, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1222
  DeleteRequest -> 0x00000000
[h2-tls silent total-timeout-1s (v3)] calling SetSslCallback
  SetSslCallback -> 0x00000000
  SetTimeOut -> 0x00000000
[h2-tls silent total-timeout-1s (v3)] SendRequest -> 0x817b1068 after 1000 ms, ssl callback calls 1, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1068
  DeleteRequest -> 0x00000000
[h2-tls silent abort (v3)] calling SetSslCallback
  SetSslCallback -> 0x00000000
[h2-tls silent abort (v3)] SendRequest -> 0x817b1080 after 1009 ms, ssl callback calls 0, last verify errors 0x20 (aborted)
  AbortRequest -> 0x00000000
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1080
  DeleteRequest -> 0x00000000
[tls handshake stall connect-timeout-1s (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
  SetConnectTimeOut -> 0x00000000
[tls handshake stall connect-timeout-1s (v2)] SendRequest -> 0x817b1080 after 20000 ms, ssl callback calls 0, last verify errors 0x20 (aborted)
  AbortRequest -> 0x00000000
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1080
  DeleteRequest -> 0x00000000
[tls handshake stall total-timeout-1s (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
  SetTimeOut -> 0x00000000
[tls handshake stall total-timeout-1s (v2)] SendRequest -> 0x817b1068 after 1001 ms, ssl callback calls 0, last verify errors 0x20
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1068
  DeleteRequest -> 0x00000000
[tls handshake stall abort (v2)] calling SetSslCallback
  SetSslCallback -> 0x00000000
[tls handshake stall abort (v2)] SendRequest -> 0x817b1080 after 1009 ms, ssl callback calls 0, last verify errors 0x20 (aborted)
  AbortRequest -> 0x00000000
  GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065
  second SendRequest -> 0x817b1080
  DeleteRequest -> 0x00000000
http2probe run4 done

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 (Claude Code). The console runs, the probe and the code were done with Claude Code; the measured values are copied from the logs above.

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5224715979 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17735). Originally posted by [kali113](https://github.com/kali113) on 2026-11-09T13:33:47Z. --- ### What `libSceHttp2` threw `NotImplemented` on ordinary network failures: an expired deadline, `sceHttp2AbortRequest`, a server that closes before the HTTP/1.x headers end, a reset over `http://`, and another `sceHttp2SendRequest` after a complete response. This returns the codes a PS5 payload measured for each of them, on the owner's jailbroken PS5 (`sceKernelGetSystemSwVersion` reports `13.590.001`; the owner calls it 13.60). Cases the payload did not settle still throw. | Case | Console result | Measured over | |---|---|---| | Overall timeout (`sceHttp2SetTimeOut`), also during DNS and the TLS handshake | `0x817B1068` | `http://`, HTTPS/1.1, HTTP/2 | | Receive timeout (`sceHttp2SetRecvTimeOut`) | `0x817B1222` | `http://` (send and read), HTTPS/1.1, HTTP/2 (send) | | `sceHttp2AbortRequest` during a send or a read | `0x817B1080` | `http://`, HTTPS/1.1, HTTP/2, TLS handshake | | Abort before the first send: abort returns 0, then the send returns | `0x817B1080` | `http://` | | Peer closes before the HTTP/1.x headers end (after the request, or mid-header) | `0x817B1064` | `http://`, HTTPS/1.1 | | Connect timeout (`sceHttp2SetConnectTimeOut`) on an unroutable address | `0x817B1221` | `http://` | | Send timeout (8 MiB POST to a server that never reads) | `0x817B1223` | `http://` | | Peer resets the connection | `0x80410136` | `http://` | | Body shorter than its `Content-Length`, then close | reads 5, then 0, then 0 | `http://` | | Another send after a complete response | `0x817B1066` | HTTPS/1.1 | After a failed send, the follow-ups match what the debt file already records: `sceHttp2GetStatusCode` returns 0 and stores 0, the content length and read calls return `0x817B1065`, and another send repeats the error. After a failed read, the read error repeats and the status and content length stay readable (status 200, length 100). Changes: - `Transport.cpp`: every deadline carries the code for its phase; the overall deadline wins when it is earlier. A cancelled or expired request raises an internal failure that `Send` and `Read` turn into the measured code (`networkResult` for a send, a new sticky `readResult` for a read). Unmeasured phases keep code 0 and still throw: the TLS handshake past its connect deadline (the console did not apply the connect timeout there: a 1 s one let a stalled handshake run 20 s until the probe aborted it), send timeouts over TLS, resolve timeouts, and deleting a request, template or context during an operation. A peer close mid-header raises `0x817B1064`; chunk-framing truncation still throws. `sceHttp2GetResponseContentLength`'s gzip path converts the internal failure back into a throw, since it is unmeasured. - `Export.cpp`: `sceHttp2AbortRequest` creates the transport for a request that has not been sent (not for WebSocket handles), so the abort sticks, as on the console. - Tests: an `http://` variant of the HTTP/1 fixture with stall-request, close and reset modes, 12 cases for the table above, and one for the gzip length path. Existing TLS deadline and cancellation tests now expect the measured codes where they apply and still expect a throw where they do not. - `docs/dev/debt/libSceHttp2.md`: a new "measured failures" entry; the error-path and SSL-callback entries are shortened. Applied beyond what was measured, and named as such in the debt entry: abort before a send, `0x817B1066` and read-phase receive timeouts over every scheme. All three come from libSceHttp2's request state, not the transport, and every code that was measured over more than one scheme matched. Not in this PR: - DNS lookup failures, which #17570 maps. The payload confirms its codes for HTTP: NXDOMAIN gave `0x804101E6` and a refused connection `0x8041013D`, both sync and async. - The async calls (#11630, #16231). The payload's async results are posted on #11630. Two more console observations that change no code here: - `sceHttp2SslDisableOption(…, 0x3d)` hung the payload, on a template and on a request. - `sceHttp2Init` with a 1 MiB pool and 8 requests returned `0x817B121C`; 256 KiB and 1 request worked. ### Tested - **Console:** PS5 on firmware `13.590.001`, a payload built with ps5-payload-sdk v0.45, against Python servers on the LAN (plain, TLS with a self-signed certificate accepted through `sceHttp2SetSslCallback`, and HTTP/2 via ALPN `h2`). DNS was a local resolver that answers NXDOMAIN to every name and drops queries for the resolve-timeout case. Four runs; the logs and the probe source are below and in the first comment. - **AnyPS5:** a full `-DBUILD_TESTING=ON` Release build in an x86-64 Ubuntu 26.04 container under Rosetta 2 on Apple Silicon, GCC 15.2. That is emulation, not native hardware. - All 14 `guest_http2*` tests pass, three runs in a row; `guest_http2_transport` takes 8.8 s and `guest_http2_http1` 7.1 s. - Everything that links `libSceHttp2` passes: the 8 `guest_curl*` tests, `guest_avplayer_http`, `avplayer_http_transport`, `avplayer_http_patched_modules`, `guest_http_client` and `guest_memory_pool_stats`. - The new gzip length test aborts on the leaked internal failure without the fix and passes with it. - `python3 tools/check_conventions.py --base origin/main` passes. - 0d73753391: the cleartext short-body test now reads until the body ends, and a variant delivers the body in two pieces. Syntax-checked only; not run. - **Not tested:** - Windows was not run here. JJenkx ran the `guest_http2*` tests on Windows 11 (WinLibs GCC 15.2 UCRT, Release) on head `5b6febc388`: all pass, 3 of 3 runs, including `guest_http2_http1` with the reset fixture's `closesocket` branch ([comment](https://github.com/boykopovar/AnyPS5/pull/17735#issuecomment-6741645913)). The hosted Windows job does not run these tests on pull requests. - An OS-level stalled `http://` connect. The connect timeout is tested with an injected pending connect instead. - **Overlap:** `tools/pr_overlap.py` reports textual overlaps only. #11630, #15221 and #16231 touch the test fixture's `Mode` line and nearby debt lines; #14212 touches the debt file. None maps these codes. <details><summary>Run 1 and 2 log: init failure, then plain HTTP and async</summary> ``` http2probe start, sw version: 13.590.001 init: net=0x00000000 pool=3000 ssl=1 http2=0x817b121c template -> 0x817b1100 http2probe start, sw version: 13.590.001 init: net=0x00000000 pool=3000 ssl=1 sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001 template -> 0x50000001 [ok] SendRequest -> 0x00000000 after 12 ms GetStatusCode -> 0x00000000 status=200 DeleteRequest -> 0x00000000 [dns] SendRequest -> 0x804101e6 after 6 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 SetResolveTimeOut -> 0x00000000 [dns-resolve-timeout-1s] SendRequest -> 0x804101e6 after 5 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 [refused] SendRequest -> 0x8041013d after 6 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 SetRecvTimeOut -> 0x00000000 [recv-timeout-1s] SendRequest -> 0x817b1222 after 1006 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 SetTimeOut -> 0x00000000 [total-timeout-1s] SendRequest -> 0x817b1068 after 1001 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 SetConnectTimeOut -> 0x00000000 [connect-timeout-1s] SendRequest -> 0x817b1221 after 1000 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 [peer-closes] SendRequest -> 0x817b1064 after 12 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 [peer-resets] SendRequest -> 0x80410136 after 12 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 [not-http] SendRequest -> 0x80432060 after 11 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 [abort-during-send] SendRequest -> 0x817b1080 after 1008 ms, AbortRequest -> 0x00000000 GetStatusCode -> 0x00000000 status=0 second SendRequest -> 0x817b1080 CreateEqueue -> 0x00000000 AddUserEvent(0x77) -> 0x00000000 [async-slow] SendRequestAsync -> 0x00000000 after 167 us (req 1610612748) [async-slow zero-timeout pending] WaitAsync(timeout=0) -> 0x817b1079 after 216 us, timeout now 0 after zero wait result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 [async-slow 300ms pending] WaitAsync(timeout=300000) -> 0x817b1079 after 300911 us, timeout now 0 after 300ms wait result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 [async-slow equeue] WaitEqueue -> 0x00000000 out=1 after 1703 ms ev[0] ident=0x77 filter=-11 flags=0x0 fflags=0x0 data=0x0 udata=1234 [async-slow 5s completed] WaitAsync(timeout=5000000) -> 0x00000000 after 9 us, timeout now 5000000 completed result: event_type=0 req_id=1610612748 result=0x00000000 reserved=0 raw=00 00 00 00 0c 00 00 60 00 00 00 00 aa aa aa aa 00 00 00 00 00 00 00 00 [async-slow zero-timeout drained] WaitAsync(timeout=0) -> 0x817b1065 after 4 us, timeout now 0 after drained zero wait result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 GetStatusCode -> 0x00000000 status=200 [async-read] ReadDataAsync -> 0x00000000 [async-read equeue] WaitEqueue -> 0x00000000 out=1 after 0 ms ev[0] ident=0x77 filter=-11 flags=0x0 fflags=0x0 data=0x0 udata=1234 [async-read] WaitAsync(timeout=3000000) -> 0x00000000 after 5 us, timeout now 3000000 read result: event_type=1 req_id=1610612748 result=0x00000005 reserved=0 raw=01 00 00 00 0c 00 00 60 05 00 00 00 aa aa aa aa 00 00 00 00 00 00 00 00 body: 'slow!' [async-no-option] SendRequestAsync(NULL option) -> 0x00000000 [async-no-option] WaitAsync(timeout=3000000) -> 0x00000000 after 11847 us, timeout now 2988164 no-option result: event_type=0 req_id=1610612749 result=0x00000000 reserved=0 raw=00 00 00 00 0d 00 00 60 00 00 00 00 aa aa aa aa 00 00 00 00 00 00 00 00 [async-dns] SendRequestAsync -> 0x00000000 [async-dns equeue] WaitEqueue -> 0x00000000 out=1 after 0 ms ev[0] ident=0x77 filter=-11 flags=0x0 fflags=0x0 data=0x0 udata=1234 [async-dns] WaitAsync(timeout=5000000) -> 0x00000000 after 6264 us, timeout now 4993747 dns result: event_type=0 req_id=1610612750 result=0x804101e6 reserved=0 raw=00 00 00 00 0e 00 00 60 e6 01 41 80 aa aa aa aa 00 00 00 00 00 00 00 00 GetStatusCode -> 0x00000000 status=0 [async-refused] SendRequestAsync -> 0x00000000 [async-refused] WaitAsync(timeout=5000000) -> 0x00000000 after 3663 us, timeout now 4996347 refused result: event_type=0 req_id=1610612751 result=0x8041013d reserved=0 raw=00 00 00 00 0f 00 00 60 3d 01 41 80 aa aa aa aa 00 00 00 00 00 00 00 00 [idle zero-timeout] WaitAsync(timeout=0) -> 0x817b1065 after 4 us, timeout now 0 idle zero result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 [idle 200ms] WaitAsync(timeout=200000) -> 0x817b1065 after 4 us, timeout now 200000 idle 200ms result: event_type=-1431655766 req_id=-1431655766 result=0xaaaaaaaa reserved=0 raw=aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00 00 00 00 00 http2probe done ``` </details> <details><summary>Run 3 log: read phase, truncation, aborts, resolve and send timeouts (the HTTPS part hung in sceHttp2SslDisableOption)</summary> ``` http2probe start, sw version: 13.590.001 init: net=0x00000000 pool=3000 ssl=1 sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001 template -> 0x50000001 template v2 -> 0x50000002 http2probe start, sw version: 13.590.001 init: net=0x00000000 pool=3000 ssl=1 sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001 template -> 0x50000001 template v2 -> 0x50000002 SetRecvTimeOut -> 0x00000000 [body-stall recv-timeout-1s] SendRequest -> 0x00000000 status=200 ContentLength -> 0x00000000 kind=0 len=100 ReadData #1 -> 0x817b1222 after 999 ms ReadData #2 -> 0x817b1222 after 0 ms ReadData #3 -> 0x817b1222 after 0 ms GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=100; ReadData -> 0x817b1222 DeleteRequest -> 0x00000000 [body-close] SendRequest -> 0x00000000 status=200 ContentLength -> 0x00000000 kind=0 len=100 ReadData #1 -> 0x00000005 after 302 ms ReadData #2 -> 0x00000000 after 0 ms ReadData #3 -> 0x00000000 after 0 ms GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=100; ReadData -> 0x00000000 DeleteRequest -> 0x00000000 [body-stall abort-during-read] SendRequest -> 0x00000000 status=200 ContentLength -> 0x00000000 kind=0 len=100 ReadData #1 -> 0x817b1080 after 1008 ms (watchdog aborted the request) ReadData #2 -> 0x817b1080 after 0 ms ReadData #3 -> 0x817b1080 after 0 ms GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=100; ReadData -> 0x817b1080 DeleteRequest -> 0x00000000 [headers-truncated-then-close] SendRequest -> 0x817b1064 after 372 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 [abort-before-send] AbortRequest -> 0x00000000 SendRequest -> 0x817b1080 GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 [abort-during-connect] SendRequest -> 0x817b1080 after 1008 ms, AbortRequest -> 0x00000000 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1080 DeleteRequest -> 0x00000000 SetResolveTimeOut -> 0x00000000 [resolve-timeout-1s (dropped query)] SendRequest -> 0x804101e2 after 31992 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 SetTimeOut -> 0x00000000 [total-timeout-1s during resolve (dropped query)] SendRequest -> 0x817b1068 after 1000 ms GetStatusCode -> 0x00000000 status=0 DeleteRequest -> 0x00000000 SetSendTimeOut -> 0x00000000 [send-timeout-1s] POST 8 MiB SendRequest -> 0x817b1223 after 1041 ms GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 DeleteRequest -> 0x00000000 SetTimeOut -> 0x00000000 [total-timeout-1s during upload] POST 8 MiB SendRequest -> 0x817b1068 after 1000 ms GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 DeleteRequest -> 0x00000000 SetRecvTimeOut -> 0x00000000 [h1 cleartext recv-timeout-1s (v2 template)] SendRequest -> 0x817b1222 after 1005 ms GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1222 DeleteRequest -> 0x00000000 [h1 cleartext headers-truncated (v2 template)] SendRequest -> 0x817b1064 after 315 ms GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1064 DeleteRequest -> 0x00000000 [h1 cleartext not-http (v2 template)] SendRequest -> 0x80432060 after 11 ms GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x00000000 kind=1 len=0; ReadData -> 0x817b1065 second SendRequest -> 0x80432060 DeleteRequest -> 0x00000000 [h2-tls silent recv-timeout-1s] calling SslDisableOption(request, 0x3d) ``` </details> <details><summary>Run 4 log: HTTPS/1.1, HTTP/2 and TLS handshake, with an SSL callback that accepts the chain</summary> ``` http2probe start, sw version: 13.590.001 init: net=0x00000000 pool=3000 ssl=1 sceHttp2Init(pool 256 KiB, max requests 1) -> 0x30000001 template -> 0x50000001 template v2 -> 0x50000002 [h1-tls ok (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 [h1-tls ok (v2)] SendRequest -> 0x00000000 after 52 ms, ssl callback calls 1, last verify errors 0x20 GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=5; ReadData -> 0x00000005 ReadData -> 0x00000000 '' second SendRequest -> 0x817b1066 DeleteRequest -> 0x00000000 [h1-tls ok (v3)] calling SetSslCallback SetSslCallback -> 0x00000000 [h1-tls ok (v3)] SendRequest -> 0x00000000 after 40 ms, ssl callback calls 1, last verify errors 0x20 GetStatusCode -> 0x00000000 status=200; GetResponseContentLength -> 0x00000000 kind=0 len=5; ReadData -> 0x00000005 ReadData -> 0x00000000 '' second SendRequest -> 0x817b1066 DeleteRequest -> 0x00000000 [h1-tls silent recv-timeout-1s (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 SetRecvTimeOut -> 0x00000000 [h1-tls silent recv-timeout-1s (v2)] SendRequest -> 0x817b1222 after 1035 ms, ssl callback calls 1, last verify errors 0x20 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1222 DeleteRequest -> 0x00000000 [h1-tls silent total-timeout-1s (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 SetTimeOut -> 0x00000000 [h1-tls silent total-timeout-1s (v2)] SendRequest -> 0x817b1068 after 1000 ms, ssl callback calls 1, last verify errors 0x20 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1068 DeleteRequest -> 0x00000000 [h1-tls silent abort (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 [h1-tls silent abort (v2)] SendRequest -> 0x817b1080 after 1009 ms, ssl callback calls 1, last verify errors 0x20 (aborted) AbortRequest -> 0x00000000 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1080 DeleteRequest -> 0x00000000 [h1-tls peer closes after request (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 [h1-tls peer closes after request (v2)] SendRequest -> 0x817b1064 after 27 ms, ssl callback calls 1, last verify errors 0x20 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1064 DeleteRequest -> 0x00000000 [h2-tls silent recv-timeout-1s (v3)] calling SetSslCallback SetSslCallback -> 0x00000000 SetRecvTimeOut -> 0x00000000 [h2-tls silent recv-timeout-1s (v3)] SendRequest -> 0x817b1222 after 1019 ms, ssl callback calls 1, last verify errors 0x20 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1222 DeleteRequest -> 0x00000000 [h2-tls silent total-timeout-1s (v3)] calling SetSslCallback SetSslCallback -> 0x00000000 SetTimeOut -> 0x00000000 [h2-tls silent total-timeout-1s (v3)] SendRequest -> 0x817b1068 after 1000 ms, ssl callback calls 1, last verify errors 0x20 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1068 DeleteRequest -> 0x00000000 [h2-tls silent abort (v3)] calling SetSslCallback SetSslCallback -> 0x00000000 [h2-tls silent abort (v3)] SendRequest -> 0x817b1080 after 1009 ms, ssl callback calls 0, last verify errors 0x20 (aborted) AbortRequest -> 0x00000000 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1080 DeleteRequest -> 0x00000000 [tls handshake stall connect-timeout-1s (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 SetConnectTimeOut -> 0x00000000 [tls handshake stall connect-timeout-1s (v2)] SendRequest -> 0x817b1080 after 20000 ms, ssl callback calls 0, last verify errors 0x20 (aborted) AbortRequest -> 0x00000000 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1080 DeleteRequest -> 0x00000000 [tls handshake stall total-timeout-1s (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 SetTimeOut -> 0x00000000 [tls handshake stall total-timeout-1s (v2)] SendRequest -> 0x817b1068 after 1001 ms, ssl callback calls 0, last verify errors 0x20 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1068 DeleteRequest -> 0x00000000 [tls handshake stall abort (v2)] calling SetSslCallback SetSslCallback -> 0x00000000 [tls handshake stall abort (v2)] SendRequest -> 0x817b1080 after 1009 ms, ssl callback calls 0, last verify errors 0x20 (aborted) AbortRequest -> 0x00000000 GetStatusCode -> 0x00000000 status=0; GetResponseContentLength -> 0x817b1065 kind=-7 len=3735928559; ReadData -> 0x817b1065 second SendRequest -> 0x817b1080 DeleteRequest -> 0x00000000 http2probe run4 done ``` </details> ### 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 under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code). The console runs, the probe and the code were done with Claude Code; the measured values are copied from the logs above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
copilot-pull-request-reviewer[bot] commented 2026-11-09 13:33:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-09T13:33:57Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5826580927 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17735#pullrequestreview-5826580927). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-11-09T13:33:57Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
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!17735
No description provided.