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): final response after a 1xx stalls behind an H2 frontend #1771
With an HTTP/2 frontend in front of an HTTP/1.1 backend, when the backend writes one or more interim 1xx responses and the final response at once, the client receives the interim HEADERS but the final response does not follow; it is only flushed, if at all, when the backend connection closes.
Mux::ready_inner (lib/src/protocol/mux/mod.rs) records whether any backend has pending work before the frontend write. Forwarding an interim response re-arms the backend read (ConnectionH2::handle_1xx_reset) so the bytes already buffered behind it get parsed, but the recorded flag is not refreshed after the frontend write, so the loop can exit with a backend armed and no socket event left to bring it back.
RFC 9110 §15.2, RFC 9113 §8.1: interim responses precede the final response on the same stream.
Activity
fix(mux): refresh the backend-work flag after the frontend write
fix(mux): refresh the backend-work flag after the frontend write
fix(mux): refresh the backend-work flag after the frontend write (soz…