Commit Graph

59 Commits (415d0a00e0845654b34542b9914ea01224dd8ed6)

Author SHA1 Message Date
Erik Johnston 7777d353bf Remove test debugs 5 years ago
Erik Johnston 1dec31560e Change jitter to be a factor rather than absolute value 5 years ago
Erik Johnston f299c5414c Refactor MatrixFederationAgent to retry SRV. 5 years ago
Erik Johnston e6e136decc Retry well known on fail. 5 years ago
Erik Johnston 17e1e80726 Retry well-known lookup before expiry. 5 years ago
Erik Johnston 107ad133fc Move well known lookup into a separate clas 5 years ago
Erik Johnston af9f1c0764 Add a lower bound for TTL on well known results. 5 years ago
Erik Johnston a9bcae9f50 Share SSL options for well-known requests 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Richard van der Hoff c3c6b00d95
Pass config_dir_path and data_dir_path into Config.read_config. (#5522) 6 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff db74c4fc6c fix ci on py2, again 6 years ago
Richard van der Hoff 19780a521e fix CI on python 2.7 6 years ago
Richard van der Hoff e016681221 Tests for SSL certs for federation connections 6 years ago
Richard van der Hoff 9fbb20a531
Stop hardcoding trust of old matrix.org key (#5374) 6 years ago
Richard van der Hoff e2dfb922e1 Validate federation server TLS certificates by default. 6 years ago
Amber Brown df2ebd75d3
Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171) 6 years ago
Andrew Morgan 5a4b328f52 Add ability to blacklist ip ranges for federation traffic (#5043) 6 years ago
Amber Brown b36c82576e
Run Black on the tests again (#5170) 6 years ago
Andrew Morgan 6824ddd93d Config option for verifying federation certificates (MSC 1711) (#4967) 6 years ago
Andrew Morgan bb52a2e653 lint 6 years ago
Andrew Morgan cd36a1283b New test, fix issues 6 years ago
Andrew Morgan c69df5d5d3 Fix comments. v0.99.2 -> v0.99.3 6 years ago
Andrew Morgan 94cb7939e4 Federation test fixed! 6 years ago
Andrew Morgan 621e7f37f1 Better exception handling 6 years ago
Andrew Morgan ecea5af491 Correct var name 6 years ago
Andrew Morgan 86c60bda15 i should have given up x3 6 years ago
Andrew Morgan 45524f2f5e i should have given up x2 6 years ago
Richard van der Hoff 5d27730a73
Move ClientTLSOptionsFactory init out of refresh_certificates (#4611) 6 years ago
Richard van der Hoff 8a21b03fba Treat an invalid .well-known the same as an absent one 6 years ago
Richard van der Hoff d428b46346 Update federation routing logic to check .well-known before SRV 6 years ago
Richard van der Hoff c7b24ac3d0
Follow redirects on .well-known (#4520) 6 years ago
Richard van der Hoff bc5f6e1797
Add a caching layer to .well-known responses (#4516) 6 years ago
Richard van der Hoff cc2d650ef7
Relax requirement for a content-type on .well-known (#4511) 6 years ago
Richard van der Hoff 99e36d5e24
Implement MSC1708 (.well-known lookups for server routing) (#4489) 6 years ago
Richard van der Hoff f2b553d656 Use SimpleResolverComplexifier in tests (#4497) 6 years ago
Richard van der Hoff 0fd5b3b53e Handle IP literals explicitly 6 years ago
Richard van der Hoff d840019192
Fix idna and ipv6 literal handling in MatrixFederationAgent (#4487) 6 years ago
Richard van der Hoff 8520bc3109
Fix Host header sent by MatrixFederationAgent (#4468) 6 years ago
Richard van der Hoff afd69a0920 Look up the right SRV record 6 years ago
Richard van der Hoff e1c8440e0c lots more tests for MatrixFederationAgent 6 years ago
Richard van der Hoff 97fd29c019
Don't send IP addresses as SNI (#4452) 6 years ago
Richard van der Hoff d02c4532c0 Add a test for MatrixFederationAgent 6 years ago
Richard van der Hoff 7021784d46 put resolve_service in an object 6 years ago
Richard van der Hoff 53a327b4d5 Require that service_name be a byte string 6 years ago
Richard van der Hoff 7871146667 Make MatrixFederationClient use MatrixFederationAgent 6 years ago
Richard van der Hoff 33a55289cb
Refactor and bugfix for resove_service (#4427) 6 years ago
Richard van der Hoff de6888e7ce Remove redundant WrappedConnection (#4409) 6 years ago
Erik Johnston b970cb0e96 Refactor request sending to have better excpetions (#4358) 6 years ago