You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mux): http.infinite_loop.error increments when a TLS H2 client stops reading a large response #1788
http.infinite_loop.error increments when a TLS HTTP/2 client stops reading a large response, as #1780 reported for HTTP/1.1.
ConnectionH2::ensure_tls_flushed (lib/src/protocol/mux/h2.rs) re-raises the WRITABLE event whenever rustls still holds records, whatever the last socket write answered. After a write the kernel refused with WouldBlock, Mux::ready_inner (lib/src/protocol/mux/mod.rs) runs the write pass again on every inner iteration, each one refused, until MAX_LOOP_ITERATIONS. It is reached from the stalled control-frame flush of H2Shell::writable, from ConnectionH2::finalize_write_after_flush (FinalizeAction::ReArm) and from the GoAway/ErrorReArmAndContinue arms.
Expected: a refused write waits for the kernel's next writable edge; the pending records are flushed once the client reads again.
Activity
fix(mux): re-raise H1 WRITABLE only after a write that continued
fix(mux): re-raise H1 WRITABLE only after a write that continued
fix(mux): stop spinning on a refused TLS write when an H2 client stop…
fix(mux): stop spinning on a refused TLS write when an H2 client stop…