pub fn build_http_client() -> Result<Client>Expand description
Build the shared reqwest client used for upstream forwarding.
Without explicit timeouts a broken MCS/DNS path can hang until the caller
gives up (e.g. sandbox python exit 124) while the upstream never logs a
request. Configure via:
SYNAPSE_PROXY_UPSTREAM_CONNECT_TIMEOUT_SECS(default 10)SYNAPSE_PROXY_UPSTREAM_TIMEOUT_SECS(default 120)