MatrixSynapse/synapse
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
..
api Fix routing loop when fetching remote media 2017-03-13 16:30:36 +00:00
app Refactor logger config for workers 2017-03-10 15:34:01 +00:00
appservice
config Merge pull request #1983 from matrix-org/rav/no_redirect_stdio 2017-03-13 12:20:07 +00:00
crypto
events
federation
handlers Merge remote-tracking branch 'origin/develop' into rav/refactor_received_pdu 2017-03-13 12:20:47 +00:00
http Fix routing loop when fetching remote media 2017-03-13 16:30:36 +00:00
metrics
push
replication Fix it for the workers 2017-03-10 11:22:25 +00:00
rest Fix routing loop when fetching remote media 2017-03-13 16:30:36 +00:00
static/client
storage Noop repated delete device inbox calls from /sync 2017-03-10 10:36:43 +00:00
streams
util Revert "Support registration & login with phone number" 2017-03-13 09:59:33 +00:00
__init__.py
event_auth.py
notifier.py
python_dependencies.py Revert "Support registration & login with phone number" 2017-03-13 09:59:33 +00:00
server.py
server.pyi
state.py
types.py
visibility.py