diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-13 13:50:16 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-13 16:30:36 +0000 |
commit | 170ccc9de5c09a543a60a7d9eada2e02ba9c9980 (patch) | |
tree | 1dec6a895c7ec7725dbeab7014eb9057fba969da /setup.py | |
parent | Merge pull request #1978 from matrix-org/rav/refactor_received_pdu (diff) | |
download | synapse-170ccc9de5c09a543a60a7d9eada2e02ba9c9980.tar.xz |
Fix routing loop when fetching remote media
When we proxy a media request to a remote server, add a query-param, which will tell the remote server to 404 if it doesn't recognise the server_name. This should fix a routing loop where the server keeps forwarding back to itself. Also improves the error handling on remote media fetches, so that we don't always return a rather obscure 502.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions