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
Idle request-body deadlines outlive their handler #8106
IdleTimeoutReader can continue using its response controller after the handler which installed it has returned. Therefore HTTP/1.1 streaming responses get cancelled by a stale request-body deadline and HTTP/2 reverse-proxy body drains to panic when setting a deadline on released response-writer state.
I have a suggestion that we should disable read_boyd_idle and write_idle by default, because when we proxy the request to the LLM, a slow response is normal, and it should not be a breaking change.
You misunderstand what these settings apply to. read_body_idle applies to the request upload while the write idle timeout is reset before each write and only bounds a write which is blocked on the client. Disabling them would restore the Slowloris exposure and would not address this lifecycle bug.
Thanks for clarifying! I misunderstood the scope of these timeouts and confused slow upstream responses with stalled client I/O. I now understand why the fix should address the deadline lifecycle while keeping the timeout protections enabled.
Activity
Dean2026 commentedon Oct 2, 2026
I have a suggestion that we should disable read_boyd_idle and write_idle by default, because when we proxy the request to the LLM, a slow response is normal, and it should not be a breaking change.
steadytao commentedon Oct 2, 2026
You misunderstand what these settings apply to.
read_body_idleapplies to the request upload while the write idle timeout is reset before each write and only bounds a write which is blocked on the client. Disabling them would restore the Slowloris exposure and would not address this lifecycle bug.Dean2026 commentedon Oct 2, 2026
Thanks for clarifying! I misunderstood the scope of these timeouts and confused slow upstream responses with stalled client I/O. I now understand why the fix should address the deadline lifecycle while keeping the timeout protections enabled.
Pin Caddy to 2.11.4 by digest; 2.11.6 crashes on an HTTP/2 body read