summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorMichael Telatynski <7t3chguy@gmail.com>2021-05-21 17:31:59 +0100
committerGitHub <noreply@github.com>2021-05-21 18:31:59 +0200
commite8ac9ac8ca18fe3456bfeba7a5883be1c991b2a6 (patch)
treecca5f1b743efe6963679018cf940a3985631b1cf /changelog.d
parentAdd a test for update_presence (#10033) (diff)
downloadsynapse-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.bugfix1
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