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 Rename network_id to instance_id on client side 2016-12-12 16:05:45 +00:00
config Merge pull request #1983 from matrix-org/rav/no_redirect_stdio 2017-03-13 12:20:07 +00:00
crypto Preserve some logcontexts 2016-08-24 11:58:40 +01:00
events Optimise state resolution 2017-01-17 13:22:19 +00:00
federation Move FederationServer._handle_new_pdu to FederationHandler 2017-03-09 16:20:13 +00:00
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 Rename the python-specific metrics now the docs claim that we have done 2016-11-03 17:03:52 +00:00
push Ensure we pass positive ints to delay function 2017-02-22 12:08:14 +00:00
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 Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Noop repated delete device inbox calls from /sync 2017-03-10 10:36:43 +00:00
streams Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
util Revert "Support registration & login with phone number" 2017-03-13 09:59:33 +00:00
__init__.py Bump version and changelog 2017-02-21 13:43:36 +00:00
event_auth.py Use better variable name 2017-01-17 14:32:53 +00:00
notifier.py Make presence.get_new_events a bit faster 2017-02-02 13:07:18 +00:00
python_dependencies.py Revert "Support registration & login with phone number" 2017-03-13 09:59:33 +00:00
server.py Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Derive current_state_events from state groups 2017-01-20 11:52:51 +00:00
types.py Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
visibility.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00