summary refs log tree commit diff
path: root/synapse/http/federation/well_known_resolver.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add type hints to matrix federation client / agent. (#8806)Patrick Cloke2020-11-251-8/+8
|
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-1/+1
|
* Use slots in attrs classes where possible (#8296)Patrick Cloke2020-09-141-1/+1
| | | | | slots use less memory (and attribute access is faster) while slightly limiting the flexibility of the class attributes. This focuses on objects which are instantiated "often" and for short periods of time.
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
|
* Convert the well known resolver to async (#8214)Patrick Cloke2020-09-011-26/+31
|
* Be stricter about JSON that is accepted by Synapse (#8106)Patrick Cloke2020-08-191-3/+2
|
* Include a user agent in federation requests. (#7677)Patrick Cloke2020-06-161-2/+15
|
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
| | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :)
* Change jitter to be a factor rather than absolute valueErik Johnston2019-08-201-11/+12
|
* Fixup changelog and remove debug loggingErik Johnston2019-08-161-4/+1
|
* Retry well known on fail.Erik Johnston2019-08-151-22/+100
| | | | | | If we have recently seen a valid well-known for a domain we want to retry on (non-final) errors a few times, to handle temporary blips in networking/etc.
* Retry well-known lookup before expiry.Erik Johnston2019-08-131-22/+60
| | | | | | | | | This gives a bit of a grace period where we can attempt to refetch a remote `well-known`, while still using the cached result if that fails. Hopefully this will make the well-known resolution a bit more torelant of failures, rather than it immediately treating failures as "no result" and caching that for an hour.
* Make default well known cache global again.Erik Johnston2019-08-131-1/+4
|
* Move well known lookup into a separate clasErik Johnston2019-08-071-0/+184