mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 15:01:23 +01:00
8ec2217103
This reduces the memory usage of previewing media files which end up larger than the `max_spider_size` by avoiding buffering content internally in treq. It also checks the `Content-Length` header in additional places instead of streaming the content to check the body length.
1 line
118 B
Text
1 line
118 B
Text
Reduce the amount of memory used when generating the URL preview of a file that is larger than the `max_spider_size`.
|