element-hq / element-hq/synapse
consider proxying/302ing large remote media files
Open
A-Disk-Space
A-Media-Repository
A-User-Experience
O-Uncommon
S-Minor
T-Enhancement
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#3918](https://github.com/matrix-org/synapse/issues/3918).
---
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?
keywords: media, federation, limit, [`max_upload_size`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html?highlight=media#max_upload_size)
Contributor guide
Assessment
This issue has not been assessed yet.