code wiki / _hdl_build / _h2_fetch_google.nx

_h2_fetch_google.nx

buildroot/runtime/_hdl_build/_h2_fetch_google.nx

5075 B63 linesdepth 19pulls 128 transitivereach 0 importersview sourcekind tooltopic h2
docsdependenciesstructsconstsfunctions

about

AUTHORED BY THE NISHI BUILDER (nx_module_author h2-inet-fetch template) -- sovereign HTTP/2 over TLS1.3. Drives the team's OWN HTTP/2 client over the sovereign TLS app-data channel (ALPN h2-only). COMPOSES nx_h2_client_over_tls + nx_tls13_client_h2run + the proven live-TLS connect chain.

dependencies 7 imports · 0 importers

nx_x509_trust_store.nx nx_trust_store_load_from_certdata. nx_tls13_client_validate_certifica nx_tls13_client_h2run.nx nx_https_url_for_fetch.nx nx_https_url_connect.nx nx_h2_client_over_tls.nx _h2_fetch_google.nx

imports: nx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_tls13_client_validate_certificate.nxnx_tls13_client_h2run.nxnx_https_url_for_fetch.nxnx_https_url_connect.nxnx_h2_client_over_tls.nx

imported by: nobody (leaf or entry point)

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

main _h2f_puts nx_https_url_for_fetch nx_url_parse strlen _scheme_is_https _h2f_log sys_openat_append _h2f_fdputs _h2f_fdn 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 nx_dns_put_u16_be nx_dns_encode_name sys_socket ↻ sys_set_socket_timeout ↻ sys_sendto sys_close ↻ sys_recvfrom nx_dns_parse_response_a nx_dns_get_u16_be nx_dns_skip_name

structs

none

consts

none

functions

11func _h2f_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main
12func _h2f_num(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48;k=1}; while m>0{t[k]=48+(m%10);m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(1,bb,k); return 0 }
called by 1: main
13func _h2f_fdn(fd: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(fd,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48;k=1}; while m>0{t[k]=48+(m%10);m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(fd,bb,k); return 0 }
called by 1: _h2f_log
14func _h2f_fdputs(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: _h2f_log
15func _h2f_log(verdict_green: i64, status: i64, bodylen: i64, diag: i64) -> i64
26func main() -> i64