diff options
author | Michael Telatynski <7t3chguy@gmail.com> | 2021-05-21 17:31:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 18:31:59 +0200 |
commit | e8ac9ac8ca18fe3456bfeba7a5883be1c991b2a6 (patch) | |
tree | cca5f1b743efe6963679018cf940a3985631b1cf /synapse/federation/transport | |
parent | Add a test for update_presence (#10033) (diff) | |
download | synapse-e8ac9ac8ca18fe3456bfeba7a5883be1c991b2a6.tar.xz |
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
Diffstat (limited to 'synapse/federation/transport')
0 files changed, 0 insertions, 0 deletions