forked-synapse/synapse/api
Richard van der Hoff 170ccc9de5 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.
2017-03-13 16:30:36 +00:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
auth.py Change resolve_state_groups call site logging to DEBUG 2017-01-17 17:07:15 +00:00
constants.py Revert "Support registration & login with phone number" 2017-03-13 09:59:33 +00:00
errors.py Fix routing loop when fetching remote media 2017-03-13 16:30:36 +00:00
filtering.py Return early on /sync code paths if a '*' filter is used 2016-11-22 16:38:35 +00:00
ratelimiting.py Check whether to ratelimit sooner to avoid work 2016-10-19 10:45:24 +01:00
urls.py APP_SERVICE_PREFIX is never used; don't bother 2016-08-25 18:06:05 +01:00