anonymousland-synapse/synapse/rest
Michael Telatynski e8ac9ac8ca
Fix /upload 500'ing when presented a very large image (#10029)
* Fix /upload 500'ing when presented a very large image

Catch DecompressionBombError and re-raise as ThumbnailErrors

* Set PIL's MAX_IMAGE_PIXELS to match homeserver.yaml

to get it to bomb out quicker, to load less into memory
in the case of super large images

* Add changelog entry for 10029
2021-05-21 18:31:59 +02:00
..
admin Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 2021-05-18 14:13:45 +01:00
client Support fetching the spaces summary via GET over federation. (#9947) 2021-05-11 12:21:43 -04:00
consent Remove various bits of compatibility code for Python <3.6 (#9879) 2021-04-27 13:13:07 +01:00
key Fix (final) Bugbear violations (#9838) 2021-04-20 11:50:49 +01:00
media Fix /upload 500'ing when presented a very large image (#10029) 2021-05-21 18:31:59 +02:00
synapse Make DomainSpecificString an attrs class (#9875) 2021-04-23 15:46:29 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
health.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
well_known.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00