summary refs log tree commit diff
path: root/synapse/http/federation/srv_resolver.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix off by one error in SRV result shufflingErik Johnston2019-08-271-8/+13
|
* Remove now unused pick_server_from_listErik Johnston2019-08-201-30/+0
|
* Fixup _sort_server_list to be slightly more efficientErik Johnston2019-08-201-2/+11
| | | | | Also document that we are using the algorithm described in RFC2782 and ensure we handle zero weight correctly.
* Refactor MatrixFederationAgent to retry SRV.Erik Johnston2019-08-151-3/+32
| | | | | | | | 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
* Replace returnValue with return (#5736)Amber Brown2019-07-231-4/+4
|
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
|
* Run Black. (#5482)Amber Brown2019-06-201-17/+20
|
* put resolve_service in an objectRichard van der Hoff2019-01-221-60/+73
| | | | this makes it easier to stub things out for tests.
* Require that service_name be a byte stringRichard van der Hoff2019-01-221-4/+4
| | | | it is only ever a bytes now, so let's enforce that.
* Kill off matrix_federation_endpointRichard van der Hoff2019-01-221-1/+0
| | | | this thing is now redundant.
* MatrixFederationAgentRichard van der Hoff2019-01-221-0/+33
| | | | | Pull the magic that is currently in matrix_federation_endpoint and friends into an agent-like thing
* Refactor and bugfix for resove_service (#4427)Richard van der Hoff2019-01-221-0/+124