diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-03-21 15:07:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 15:07:28 +0000 |
commit | 7bef97dfb730eeacf4835fbdd9c5e360984fbb1e (patch) | |
tree | 39b1d7b9885c1e55c761bc74fb90e285330316f2 /changelog.d/4840.feature | |
parent | Merge pull request #4908 from matrix-org/erikj/block_peek_on_blocked_rooms (diff) | |
parent | Clean up backoff_on_404 and metehod calls (diff) | |
download | synapse-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 'changelog.d/4840.feature')
-rw-r--r-- | changelog.d/4840.feature | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/4840.feature b/changelog.d/4840.feature new file mode 100644 index 0000000000..9d1fd59053 --- /dev/null +++ b/changelog.d/4840.feature @@ -0,0 +1 @@ +Remove trailing slashes from certain outbound federation requests. Retry if receiving a 404. Context: #3622. \ No newline at end of file |