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
Expose configurable connect, first-byte and between-bytes timeouts for outbound backends. Fastly TLS and fixed timeout settings already sets Fastly defaults of 1s/15s/10s; Axum proxy construction fixes a single 30s timeout. Those defaults do not supply the requested portable configuration.
Steps to reproduce
Inspect Fastly backend construction and AxumProxyClient::try_new.
Look for public caller-supplied connect, first-byte and between-bytes settings in ProxyRequest.
Compare current fixed settings across adapters.
Expected behavior
Applications can configure each requested timeout through a shared contract, with phase meanings and provider support documented.
Impact
Slow or unreliable origins cannot be given workload-specific connection/read budgets without adapter-specific changes.
Proposed fix
Add validated timeout settings to the chosen outbound contract, map supported phases into each adapter, and define explicit unsupported behavior. Coordinate with the deadline model in PR #275 rather than treating a whole-request timeout as equivalent to every phase timeout.
Done when
Connect, first-byte and between-bytes semantics and defaults are documented.
Supported adapters apply caller values; unsupported phases are explicit.
Focused delayed-origin or deterministic transport tests distinguish the phases without external services.
Related
Parent #79; story #80; adapter configuration #84, #85; contracts #87. PR #35 adds fixed Fastly defaults; PR #275 is related open work.
Activity