MatrixSynapse/synapse/http
Patrick Cloke 8ec2217103
Reduce the memory usage of previewing media files. (#9421)
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.
2021-02-18 09:01:29 -05:00
..
federation Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
__init__.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
additional_resource.py
client.py Reduce the memory usage of previewing media files. (#9421) 2021-02-18 09:01:29 -05:00
connectproxyclient.py
matrixfederationclient.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
proxyagent.py Don't apply the IP range blacklist to proxy connections (#9084) 2021-01-12 12:20:30 -05:00
request_metrics.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
server.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
servlet.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
site.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00