Synapse: consider proxying/302ing large remote media files

Created on 20 Sep 2018  路  3Comments  路  Source: matrix-org/synapse

if Bob uploads a huge file to his HS, and Alice tries to fetch it, but it's too large for her homeserver, she'll just get an error ({errcode:M_TOO_LARGE,error:Requested file is too large > 104857600 bytes}). Could Alice's HS instead just proxy the request and stream the file from Bob's HS?

feature p2

Most helpful comment

From a privacy perspective I would prefer proxying. Else I could send a x GB file to a room just to observe the IP Addresses of the users.

All 3 comments

Wouldn't it also be possible to 302 to the origin server?

mmm. good point.

From a privacy perspective I would prefer proxying. Else I could send a x GB file to a room just to observe the IP Addresses of the users.

Was this page helpful?
0 / 5 - 0 ratings