synapse-product/synapse/util
Richard van der Hoff 95f21c7a66 Fix caching of remote servers' signature keys
The `@cached` decorator on `KeyStore._get_server_verify_key` was missing
its `num_args` parameter, which meant that it was returning the wrong key for
any server which had more than one recorded key.

By way of a fix, change the default for `num_args` to be *all* arguments. To
implement that, factor out a common base class for `CacheDescriptor` and `CacheListDescriptor`.
2017-03-22 15:11:30 +00:00
..
caches Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
__init__.py Correctly handle timeout errors 2016-12-09 16:30:29 +00:00
async.py Add paranoia exception catch in Linearizer 2017-01-10 14:04:13 +00:00
distributor.py Remove registered_users from the distributor. 2016-06-17 19:14:16 +01:00
frozenutils.py copyrights 2016-01-07 04:26:29 +00:00
httpresourcetree.py Split out create_resource_tree to a separate file 2016-04-22 15:40:51 +01:00
jsonobject.py Handle sending events and device messages over federation 2016-11-17 15:48:04 +00:00
logcontext.py Merge pull request #2026 from matrix-org/rav/logcontext_docs 2017-03-20 12:05:21 +00:00
logutils.py Fix up logcontexts 2016-02-08 14:26:45 +00:00
manhole.py Add a metrics listener and a ssh listener to the pusher 2016-04-25 17:34:25 +01:00
metrics.py Only abort Measure on Exceptions 2016-08-19 18:23:45 +01:00
msisdn.py Support registration / login with phone number 2017-03-13 17:27:51 +00:00
ratelimitutils.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
retryutils.py Correctly raise exceptions for ratelimitng. Ratelimit on 401 2017-02-01 15:42:19 +00:00
rlimit.py Move the versionstring code out of app.homeserver into util 2016-04-11 14:57:09 +01:00
stringutils.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
versionstring.py Add federation /version API 2016-08-05 16:36:07 +01:00
wheel_timer.py Add presence metrics 2016-02-19 09:50:54 +00:00