mirror of
https://github.com/matrix-org/synapse.git
synced 2025-10-17 18:31:01 +02:00
This refactors MatrixFederationAgent to move the SRV lookup into the endpoint code, this has two benefits: 1. Its easier to retry different host/ports in the same way as HostnameEndpoint. 2. We avoid SRV lookups if we have a free connection in the pool