nx_page_get_test.nx
buildroot/runtime/nx_page_get_test.nx
about
nx_browser_loopback_test.nx -- fork-loopback fetch + render.
Server: accepts ONE TCP connection on a high port, sends a canned
HTTP/1.1 response with a small HTML body, then exits.
Client: connects, reads the full response, parses it, renders to
plain text, writes to stdout.
This proves the sovereign browser substrate composes over a real
kernel-mediated TCP socket -- only the TLS layer is omitted (the
already-passing nx_https_loopback_test proves that layer in
isolation). CAPABILITY_COMPLETENESS PARTIAL: combining
loopback + TLS into one binary is queued behind X.509 chain
validation arc.
expect_exit: 0
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_connect.nxnx_http_response_parse.nxnx_html_to_text.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
| 23 | const BLP_PORT: i64 = 17890 |
functions
| 27 | func blp_addr(out: *u8, port: i64) -> i64 called by 1: main |
| 37 | func blp_recv_all(fd: i64, buf: *u8, cap: i64) -> i64 |
| 49 | func blp_write(out: *u8, off: i64, s: *u8, n: i64) -> i64 |
| 55 | func blp_status(out: *u8) -> i64 |
| 65 | func blp_ct(out: *u8, off: i64) -> i64 |
| 77 | func blp_cl(out: *u8, off: i64) -> i64 |
| 90 | func blp_body(out: *u8, off: i64) -> i64 |
| 102 | func blp_build(out: *u8) -> i64 |
| 113 | func blp_render(buf: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 125 | func blp_run_server(cfd: i64) -> i64 |
| 133 | func blp_run_client(cfd: i64) -> i64 |
| 147 | func main() -> i64 |