Release notes: httpd M1.5 SSE runtime (m15-sse-runtime)¶
Branch: cursor/httpd-plan-continue
Summary¶
Live build/li-httpd now enforces limits.stream_idle_timeout during chunked SSE proxy relay: inter-chunk stalls return 504 Gateway Timeout and close the upstream connection. Idle detection runs on a periodic tick (not only on epoll events), and chunk timestamps update for chunked upstream bodies relayed to the client.
Changes¶
runtime/li_rt_net.c— SSE chunk timestamps on body relay; idle tick + bounded epoll in C and Li proxy loops; upstream cancel on stallpackages/li-net-httpd/src/lib.li—httpd_upstream_proxy_epoll_loopcalls SSE idle tick + timed epoll waitstd/runtime/seam.li— exports for SSE idle tick and timed epoll waitpackages/li-net-httpd/examples/sse_idle.toml— short idle timeout for gate smokescripts/test-m15-sse-runtime.sh— live SSE relay + stall cancel gatescripts/httpd-plan-gates.sh— wire m15-sse-runtime smoke
Test plan¶
Live sites: no tier-5 bench CSV change (SKIP_BENCH=1).