mirror of
https://github.com/lexmount/moli.git
synced 2026-11-21 00:03:15 +00:00
Negotiate RFC 8441 after the peer advertises ENABLE_CONNECT_PROTOCOL, preserve the CONNECT_ONLY stream through handshake completion, and reuse the native WebSocket frame codec with bounded HTTP/2 receive and send flow control. Translate native poll interests for WINDOW_UPDATE/TLS progress, reject writes after stream reset, and retire unsupported H2 connections before the existing HTTP/1.1 negotiation fallback. Keep TLS, proxy, DNS, owner and queue policies. Correct the mixed-transport fixture to advertise each listener's protocol. Validation: cargo fmt --all; strict workspace/all-targets/all-features clippy; cargo nextest run --no-fail-fast (24036 passed, 18 existing skips). All 24031 previous passing test IDs retained; five new native/handshake regressions.