synapse/changelog.d
Sean Quah 772e8c2385
Fix stack overflow in _PerHostRatelimiter due to synchronous requests (#14812)
When there are many synchronous requests waiting on a
`_PerHostRatelimiter`, each request will be started recursively just
after the previous request has completed. Under the right conditions,
this leads to stack exhaustion.

A common way for requests to become synchronous is when the remote
client disconnects early, because the homeserver is overloaded and slow
to respond.

Avoid stack exhaustion under these conditions by deferring subsequent
requests until the next reactor tick.

Fixes #14480.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-01-13 00:16:21 +00:00
..
.gitignore
14629.feature Add set_displayname to the module API (#14629) 2023-01-11 18:41:52 +00:00
14747.feature Add listener health (#14747) 2023-01-11 12:00:38 +00:00
14749.misc Faster remote room joins (worker mode): do not populate external hosts-in-room cache when sending events as this requires blocking for full state. (#14749) 2023-01-11 13:21:53 +00:00
14773.doc Remove outdated commands from the code style doc & point to the contributing guide. (#14773) 2023-01-11 15:21:12 +00:00
14799.bugfix Add index to improve performance of the /timestamp_to_event endpoint used for jumping to a specific date in the timeline of a room. (#14799) 2023-01-11 12:29:13 +00:00
14803.doc Add tag to listeners documentation (#14803) 2023-01-11 10:47:44 +00:00
14807.misc Add poetry.toml to .gitignore (#14807) 2023-01-11 11:44:13 +00:00
14811.feature Implement MSC3925: changes to bundling of edits (#14811) 2023-01-10 16:31:28 +00:00
14812.bugfix Fix stack overflow in _PerHostRatelimiter due to synchronous requests (#14812) 2023-01-13 00:16:21 +00:00
14816.misc Fix-up type hints for tests.push module. (#14816) 2023-01-11 07:35:40 -05:00
14819.misc Factor out common code in tests and fix comments. (#14819) 2023-01-11 13:36:41 -05:00
14821.misc Re-enable some linting (#14821) 2023-01-12 10:52:07 +00:00
14822.misc Add rust linting commands to scripts-dev/lint.sh (#14822) 2023-01-12 16:20:34 +00:00