mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 15:24:11 -04:00
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.
This commit is contained in:
commit
7bef97dfb7
5 changed files with 191 additions and 17 deletions
1
changelog.d/4840.feature
Normal file
1
changelog.d/4840.feature
Normal file
|
@ -0,0 +1 @@
|
|||
Remove trailing slashes from certain outbound federation requests. Retry if receiving a 404. Context: #3622.
|
Loading…
Add table
Add a link
Reference in a new issue