summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-04-16 15:16:57 +0100
committerRichard van der Hoff <richard@matrix.org>2019-04-16 15:16:57 +0100
commitfc5be50d561dcf0f069c5b4920faa0dfd3a962e2 (patch)
tree309a7bd8afb7a9335ab9980c1256effd94e12eec
parentPoint pusher to new box (diff)
downloadsynapse-fc5be50d561dcf0f069c5b4920faa0dfd3a962e2.tar.xz
skip send without trailing slash
-rw-r--r--synapse/federation/transport/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py

index e424c40fdf..de888cc12f 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py
@@ -173,7 +173,7 @@ class TransportLayerClient(object): # generated by the json_data_callback. json_data = transaction.get_dict() - path = _create_v1_path("/send/%s", transaction.transaction_id) + path = _create_v1_path("/send/%s/", transaction.transaction_id) response = yield self.client.put_json( transaction.destination, @@ -182,7 +182,7 @@ class TransportLayerClient(object): json_data_callback=json_data_callback, long_retries=True, backoff_on_404=True, # If we get a 404 the other side has gone - try_trailing_slash_on_400=True, + # try_trailing_slash_on_400=True, ) defer.returnValue(response)