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
Commit 8d08a97
Browse filesBrowse the repository at this point in the historyBrowse files
fix: no limit on response duration, only stall guards
The Gateway cut every response at five minutes: an absolute server write
deadline, plus total-duration deadlines on provider requests. Healthy long
answers and streams ended mid-response.
- The server has no absolute write deadline. Each client read and write is
bounded on its own (CLIENT_IO_TIMEOUT_SECONDS, default 60), in chunks of at
most 32 KiB with the deadline refreshed on progress, so a long transfer
that keeps moving is never cut. Request headers keep a 30 s limit.
- Provider requests have no total deadline. They end only when the provider
sends nothing, neither headers nor bytes, for
PROVIDER_SILENCE_TIMEOUT_SECONDS (default 900). Keepalive bytes count as
activity. Tinfoil's verified transport keeps its own client; only the wait
for headers is bounded around it.
- Both settings must be positive whole seconds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments