synapse-product/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 Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
client.py Reduce the memory usage of previewing media files. (#9421) 2021-02-18 09:01:29 -05:00
connectproxyclient.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
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