code wiki / (root) / nx_https_get_test.nx

nx_https_get_test.nx

buildroot/runtime/nx_https_get_test.nx

2865 B67 linesdepth 21pulls 124 transitivereach 0 importersview sourcekind gate/prooftopic https
docsdependenciesstructsconstsfunctions

about

nx_https_get_test.nx -- KAT for the top-level user-facing nx_https_get primitive. Full happy-path against a real public HTTPS server is exercised by Arc A's end-to-end demo (queued). This KAT verifies the orchestrator's contract surface: - bad URL (no scheme) -> BAD_URL - http:// (wrong scheme) -> BAD_URL - URL with non-routable IP-in-host -> CONNECT_FAIL or HANDSHAKE_FAIL (platform-dep; DNS resolves "0.0.0.0" or similar to a connect-failure) - sealed verdict gate expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_x509_trust_store.nx nx_https_get.nx nx_https_get_test.nx

imports: nx_syscalls.nxnx_x509_trust_store.nxnx_https_get.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap trust_store_alloc sys_mmap ↻ nx_https_get sys_now_ms sys_mmap ↻ sys_clock_gettime_mono nx_url_new sys_mmap ↻ nx_https_url_for_fetch nx_url_parse strlen _scheme_is_https nx_https_url_connect sys_socket sys_set_socket_timeout sys_mmap ↻ sys_setsockopt sys_munmap sys_mmap ↻ nx_https_build_sockaddr nx_connect_bounded nx_fcntl sys_connect sys_mmap ↻ sys_poll sys_close sys_setsockopt ↻ nx_dns_resolve_default nx_dns_resolve_with_failov nx_dns_resolve_a_record sys_mmap ↻ nx_dns_build_query sys_socket ↻ sys_set_socket_timeout ↻ sys_sendto sys_close ↻ sys_recvfrom nx_dns_parse_response_a

structs

none

consts

none

functions

21func main() -> i64