anonymousland-synapse/synapse/crypto
Richard van der Hoff c5c24c239b Fix logcontext handling in verify_json_objects_for_server
preserve_context_over_fn is essentially broken, because (a) it pointlessly
drops the current logcontext before calling its wrapped function, which means
we don't get any useful logcontexts for _handle_key_deferred; (b) it wraps the
resulting deferred in a _PreservingContextDeferred, which is very dangerous
because you then can't yield on it without leaking context back into the
reactor.

Instead, let's specify that the resultant deferreds call their callbacks with
no logcontext.
2017-09-20 01:32:42 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
context_factory.py Uncommit accidentally commited edit to cipher list 2016-05-10 18:44:32 +02:00
event_signing.py copyrights 2016-01-07 04:26:29 +00:00
keyclient.py Cache getPeer 2016-07-21 17:38:51 +01:00
keyring.py Fix logcontext handling in verify_json_objects_for_server 2017-09-20 01:32:42 +01:00