forked-synapse/changelog.d
Shay 429ecb7564
Handle remote download responses with UNKNOWN_LENGTH more gracefully (#17439)
Prior to this PR, remote downloads which did not provide a
`content-length` were decremented from the remote download ratelimiter
at the max allowable size, leading to excessive ratelimiting - see
https://github.com/element-hq/synapse/issues/17394.

This PR adds a linearizer to limit concurrent remote downloads to 6 per
IP address, and decrements remote downloads without a `content-length`
from the ratelimiter *after* the download is complete and the response
length is known.

Also adds logic to ensure that responses with a known length respect the
`max_download_size`.
2024-07-16 11:13:55 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
17387.doc Upload new logo with white bg and update readme to use it (#17387) 2024-07-10 14:59:24 +01:00
17416.feature Handle to-device extensions to Sliding Sync (#17416) 2024-07-10 11:58:42 +01:00
17418.feature Add rooms name and avatar to Sliding Sync /sync (#17418) 2024-07-09 12:26:45 -05:00
17419.feature Add heroes and room summary fields to Sliding Sync /sync (#17419) 2024-07-11 14:05:38 -05:00
17423.doc Add Red Hat Enterprise Linux and Rocky Linux installation instructions (#17423) 2024-07-11 14:02:19 +01:00
17424.misc Make sure we use the right logic for enabling the media repo. (#17424) 2024-07-15 11:42:59 +02:00
17426.misc Fix docs on record_action to clarify the actions are applied (#17426) 2024-07-11 14:03:13 +01:00
17429.feature Add is_dm room field to Sliding Sync /sync (#17429) 2024-07-11 18:19:26 -05:00
17432.feature Add room subscriptions to Sliding Sync /sync (#17432) 2024-07-15 10:37:10 +01:00
17434.bugfix Fix filtering room types on remote rooms (#17434) 2024-07-11 16:00:44 +01:00
17438.bugfix Fix bug where sync could get stuck when using workers (#17438) 2024-07-15 16:13:04 +01:00
17439.bugfix Handle remote download responses with UNKNOWN_LENGTH more gracefully (#17439) 2024-07-16 11:13:55 +01:00
17449.bugfix Remove unnecessary call to resume producing in fake channel (#17449) 2024-07-16 09:52:39 +01:00