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 /changelog.d | |
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 'changelog.d')
-rw-r--r-- | changelog.d/10029.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10029.bugfix b/changelog.d/10029.bugfix new file mode 100644 index 0000000000..c214cbdaec --- /dev/null +++ b/changelog.d/10029.bugfix @@ -0,0 +1 @@ +Fixed a bug with very high resolution image uploads throwing internal server errors. \ No newline at end of file |