diff options
author | Rory& <root@rory.gay> | 2024-06-17 06:17:03 +0200 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-06-17 06:25:20 +0200 |
commit | 99294322327f899eb01e9c78c0681528cada99d1 (patch) | |
tree | 023a30b463867deb4c8b1b9df8c8b11770846860 /LibMatrix/Homeservers/FederationClient.cs | |
parent | Single httpclient implementation (diff) | |
download | LibMatrix-99294322327f899eb01e9c78c0681528cada99d1.tar.xz |
Single HTTP client fixes github/dev/new-httpclient dev/new-httpclient
Diffstat (limited to 'LibMatrix/Homeservers/FederationClient.cs')
-rw-r--r-- | LibMatrix/Homeservers/FederationClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/Homeservers/FederationClient.cs b/LibMatrix/Homeservers/FederationClient.cs index dc0d1f6..22653e4 100644 --- a/LibMatrix/Homeservers/FederationClient.cs +++ b/LibMatrix/Homeservers/FederationClient.cs @@ -9,7 +9,7 @@ public class FederationClient { public FederationClient(string federationEndpoint, string? proxy = null) { HttpClient = new MatrixHttpClient { BaseAddress = new Uri(proxy?.TrimEnd('/') ?? federationEndpoint.TrimEnd('/')), - Timeout = TimeSpan.FromSeconds(120) + // Timeout = TimeSpan.FromSeconds(120) // TODO: Re-implement this }; if (proxy is not null) HttpClient.DefaultRequestHeaders.Add("MXAE_UPSTREAM", federationEndpoint); } |