summary refs log tree commit diff
path: root/synapse/config/room_directory.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-03-21 15:07:28 +0000
committerGitHub <noreply@github.com>2019-03-21 15:07:28 +0000
commit7bef97dfb730eeacf4835fbdd9c5e360984fbb1e (patch)
tree39b1d7b9885c1e55c761bc74fb90e285330316f2 /synapse/config/room_directory.py
parentMerge pull request #4908 from matrix-org/erikj/block_peek_on_blocked_rooms (diff)
parentClean up backoff_on_404 and metehod calls (diff)
downloadsynapse-7bef97dfb730eeacf4835fbdd9c5e360984fbb1e.tar.xz
Remove trailing slashes from outbound federation requests and retry on 400 (#4840)
As per #3622, we remove trailing slashes from outbound federation requests. However, to ensure that we remain backwards compatible with previous versions of Synapse, if we receive a HTTP 400 with `M_UNRECOGNIZED`, then we are likely talking to an older version of Synapse in which case we retry with a trailing slash appended to the request path.
Diffstat (limited to 'synapse/config/room_directory.py')
0 files changed, 0 insertions, 0 deletions