code wiki / (root) / nx_http_server_test.nx

nx_http_server_test.nx

buildroot/runtime/nx_http_server_test.nx

4457 B114 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic http
docsdependenciesstructsconstsfunctions

about

nx_http_server_test.nx -- structural smoke (no actual sockets). Exercises every public helper for the sealed-enum verdict + the sockaddr builder + the verdict-name lookup. Real bind/listen/ accept loopback test is bench/nx_http_server_loopback.sh. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_http_server.nx nx_http_server_test.nx

imports: nx_syscalls_x86_64.nxnx_http_server.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nxs_verdict_is_valid bytes_eq nxs_verdict_name nx_http_server_addr_loopba nx_http_server_make_sockad nx_http_server_addr_any nx_http_server_make_sockad ↻ nx_http_server_listen sys_ignore_sigpipe sys_mmap sys_socket sys_mmap ↻ sys_setsockopt sys_bind sys_close sys_listen nx_http_server_accept_one sys_accept nx_http_server_send_respon sys_write sys_close ↻ nx_http_server_read_reques sys_read nx_http_parse_request

structs

none

consts

none

functions

14func bytes_eq(a: *u8, b: *u8, n: i64) -> i64
called by 1: main
23func main() -> i64