summaryrefslogtreecommitdiffstats
path: root/internal/ratelimit/ratelimit_test.go
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-15 17:08:21 -0800
committerbndw <ben@bdw.to>2026-02-15 17:08:21 -0800
commitfa8b4bb939430ba9c48fb4d3ba2b0e9095e229d3 (patch)
tree3935f17ed94a95bef7f5c68a4b98e0f6fab6b83d /internal/ratelimit/ratelimit_test.go
parent84dc5995f28e6d63d3cbb1af44daba7f10cbca66 (diff)
fix: move rate limiting before auth checks
- Rate limiting now happens immediately after parsing - Prevents spam from wasting resources on auth validation - Protects against DoS from unauthenticated request floods - IP-based rate limits now apply to all spam, not just authenticated users
Diffstat (limited to 'internal/ratelimit/ratelimit_test.go')
0 files changed, 0 insertions, 0 deletions