HTTP proxy/LB bench regression fix (wave 8 revert + argv routing)¶
Summary¶
Fixes tier-5 proxy_loopback / LB wrk_parse_fail_li by reverting broken wave-8 httpd_proxy_resp_finish_headers filter relay and routing CSV upstream ports to the Li epoll proxy loop (not static httpd_serve_port_root).
Agent continuation¶
- Read:
runtime/li_rt_net.c(httpd_proxy_snap_reset,httpd_proxy_snap_begin_recording_if_get);packages/li-net-httpd/src/lib.li(httpd_upstream_proxy_epoll_loop,httpd_run_from_argv). - Run: build
li-httpd; from benchmarksBENCH_PROXY_ORACLES=nginx,li ./scripts/run-tier5-http-bench.sh; checkproxy_loopback/lb_*rows indocs/ecosystem/http-server-rps-matrix.md. - Then: re-apply wave-8
x-internalheader strip with a safe filter (do not breakhttpd_proxy_resp_finish_headersbody relay). - Blocked on: none for loopback proxy RPS.
Changed¶
runtime/li_rt_net.c— snap race guard (g_proxy_snap_recording);httpd_proxy_snap_reseton upstream set; pre-wave-8 proxy finish path (no broken header-filter relay).packages/li-net-httpd/src/lib.li—httpd_upstream_proxy_epoll_loop; CSV argv → proxy loop (not static serve).
Not changed¶
g_strip_internal_headerswave-8 feature (deferred safe re-land).li-tlsterminate / HTTPS listen.- benchmarks harness (updated in benchmarks PR).
Breaking¶
N/A.
Security¶
N/A — bench fix only.
Performance¶
Loopback proxy (representative): proxy_loopback li ~130k+ RPS vs nginx ~78k on same host after fix.
Downstream¶
- benchmarks: refresh matrix; merge supplemental
http_tier5.csvonly when li RPS > 0.