SIGN IN SIGN UP

MEDIUM: ssl: Add a way to rate-limit TLSv1.3 KeyUpdate

Processing TLSv1.3 KeyUpdate is expensive in term of CPU, and in normal
usage there is very few reason to get a lot of them. So add a new
keyword, tune.ssl.keyupdate-rate-limit, that gives the maximum number of
KeyUpdate we're okay with receiving per second. The default is 100,
which should be enough. 0 means no rate-limiting at all.

This should mitigate the problem reported in Github issue #3450.

This should be backported as far back as 2.8.
O
Olivier Houchard committed
91004114fe8816f848025fe71def4ea23e72a5f6
Parent: da4e71d
Committed by Olivier Houchard <cognet@ci0.org> on 7/23/2026, 10:31:37 PM