nx_torrent_stream_live_gate.nx
buildroot/runtime/nx_torrent_stream_live_gate.nx
about
nx_torrent_stream_live_gate.nx -- LIVE verification of the deployed /torrent/stream endpoint.
Sends real HTTP Range requests to the running daemon (:8097) and checks the 206 responses against
the operator's real 300MIUM download. NO bash/curl -- sovereign nx_http_client over a raw socket.
Run (daemon must be UP): ./_offc/nx_sov_build_run.elf nx_torrent_stream_live_gate
depends: nishi-core.http_client
dependencies 2 imports · 0 importers
imports: nx_http_client.nxnx_connect.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func g_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 10 | func g_strlen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 11 | func g_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){dst[off+i]=s[i];i=i+1} return off+g_strlen(s) } |
| 12 | func g_contains(buf: *u8, n: i64, s: *u8) -> i64 |
| 18 | func g_report(label: *u8, ok: i64) -> i64 { if ok==1 { g_puts(" [PASS] " as *u8) } else { g_puts(" [FAIL] " as *u8) } g_puts(label); g_puts("\n" as *u8); return 0 } |
| 20 | func g_puthead(buf: *u8, n: i64) -> i64 { var m: i64=n; if m>200 {m=200} g_puts(" > " as *u8); sys_write(1, buf, m); g_puts("\n" as *u8); return 0 } |
| 23 | func g_get_range(path: *u8, rng: *u8, buf: *u8, cap: i64) -> i64 |
| 37 | func main() -> i64 |