summary refs log tree commit diff
path: root/synapse/federation/transport
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-15 17:11:44 +0100
committerErik Johnston <erik@matrix.org>2015-06-15 17:11:44 +0100
commitcee69441d3d3b4d966b6ec69c7dbf4eb3b876bb3 (patch)
treeaed730c6d9d10710be309b422bf411447e3decfc /synapse/federation/transport
parentCreate SynapseRequest that overrides __repr__ to not print access_token (diff)
downloadsynapse-cee69441d3d3b4d966b6ec69c7dbf4eb3b876bb3.tar.xz
Log more when we have processed the request
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r--synapse/federation/transport/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 31190e700a..bad93c6b2f 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -94,6 +94,7 @@ class TransportLayerServer(object):
         yield self.keyring.verify_json_for_server(origin, json_request)
 
         logger.info("Request from %s", origin)
+        request.authenticated_entity = origin
 
         defer.returnValue((origin, content))