Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix off by one error in SRV result shuffling | Erik Johnston | 2019-08-27 | 1 | -8/+13 |
| | |||||
* | Remove now unused pick_server_from_list | Erik Johnston | 2019-08-20 | 1 | -30/+0 |
| | |||||
* | Fixup _sort_server_list to be slightly more efficient | Erik Johnston | 2019-08-20 | 1 | -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 Johnston | 2019-08-15 | 1 | -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 Brown | 2019-07-23 | 1 | -4/+4 |
| | |||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -17/+20 |
| | |||||
* | put resolve_service in an object | Richard van der Hoff | 2019-01-22 | 1 | -60/+73 |
| | | | | this makes it easier to stub things out for tests. | ||||
* | Require that service_name be a byte string | Richard van der Hoff | 2019-01-22 | 1 | -4/+4 |
| | | | | it is only ever a bytes now, so let's enforce that. | ||||
* | Kill off matrix_federation_endpoint | Richard van der Hoff | 2019-01-22 | 1 | -1/+0 |
| | | | | this thing is now redundant. | ||||
* | MatrixFederationAgent | Richard van der Hoff | 2019-01-22 | 1 | -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 Hoff | 2019-01-22 | 1 | -0/+124 |