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
Axum already proxies arbitrary URLs using reqwest::Client. The remaining backend-factory gap is caller configuration: Axum proxy construction exposes only try_new() with a fixed 30s timeout, and send discards request extensions instead of consuming a backend-settings contract.
Steps to reproduce
Inspect AxumProxyClient::try_new and send.
Look for an API accepting a caller-selected timeout/backend policy.
Confirm the only client-builder timeout is the fixed 30-second value.
Expected behavior
The native backend implementation builds or selects a reqwest client using the portable backend timeout configuration.
Impact
Native applications cannot tune origin connection behavior without replacing or editing the adapter client.
Proposed fix
Complete configurable reqwest construction using the chosen portable settings. Reuse existing request conversion, preserve fallible client initialization, and coordinate with PR #275 so client ownership and outbound policy have one implementation.
Done when
A supported caller timeout setting changes reqwest client/request behavior.
Defaults and unsupported phase distinctions are documented.
Local deterministic or loopback tests cover custom/default timeouts and failed construction.
Related
Parent #79; timeout contract #82; contracts #87. PR #275 is related open work.
Activity