This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Implement MSC1708 (.well-known lookups for server routing) #4489
Merged
Commits on Jan 27, 2019
-
Fix idna and ipv6 literal handling in MatrixFederationAgent
Turns out that the library does a better job of parsing URIs than our reinvented wheel. Who knew. There are two things going on here. The first is that, unlike parse_server_name, URI.fromBytes will strip off square brackets from IPv6 literals, which means that it is valid input to ClientTLSOptionsFactory and HostnameEndpoint. The second is that we stay in `bytes` throughout (except for the argument to ClientTLSOptionsFactory), which avoids the weirdness of (sometimes) ending up with idna-encoded values being held in `unicode` variables. TBH it probably would have been ok but it made the tests fragile.
Configuration menu - View commit details
-
Copy full SHA for a22d4dd - Browse repository at this point
Copy the full SHA a22d4ddView commit details -
MatrixFederationAgent: factor out routing logic
This is going to get too big and unmanageable.
Configuration menu - View commit details
-
Copy full SHA for a4bc4e9 - Browse repository at this point
Copy the full SHA a4bc4e9View commit details -
We don't want to be doing .well-known lookups on these guys.
Configuration menu - View commit details
-
Copy full SHA for ecdb5bd - Browse repository at this point
Copy the full SHA ecdb5bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8e5f30 - Browse repository at this point
Copy the full SHA f8e5f30View commit details
Commits on Jan 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f3b50e0 - Browse repository at this point
Copy the full SHA f3b50e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 275aa9d - Browse repository at this point
Copy the full SHA 275aa9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2b1b1f - Browse repository at this point
Copy the full SHA a2b1b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98ba3be - Browse repository at this point
Copy the full SHA 98ba3beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f21c3e - Browse repository at this point
Copy the full SHA 6f21c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28dce84 - Browse repository at this point
Copy the full SHA 28dce84View commit details -
Use SimpleResolverComplexifier in tests
two reasons for this. One, it saves a bunch of boilerplate. Two, it squashes unicode to IDNA-in-a-`str` (even on python 3) in a way that it turns out we rely on to give consistent behaviour between python 2 and 3.
Configuration menu - View commit details
-
Copy full SHA for da54bb1 - Browse repository at this point
Copy the full SHA da54bb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b9df5 - Browse repository at this point
Copy the full SHA f3b9df5View commit details
Commits on Jan 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8ced610 - Browse repository at this point
Copy the full SHA 8ced610View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9c36a3 - Browse repository at this point
Copy the full SHA d9c36a3View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.