dendrite/internal/httputil
Neil Alexander 6d4bd5d890
Rate limiting changes (#2519)
* Rate limiting changes

This makes the following changes:

* For logged in users, the rate limiting now applies to the device session rather than the remote IP address;
* For non-logged in users, the rate limiting continues to apply to remote address as it does today;
* It is now possible to add user IDs to the `exempt_user_ids` option under `rate_limiting` to exclude bots from rate limiting;
* Admin and appservice users are now exempt from rate limiting by default.

* Fix build with media API
2022-06-07 14:24:04 +01:00
..
http.go Add missing HTTP mode for userapi (#1982) 2021-12-03 17:18:35 +00:00
httpapi_test.go Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
httpapi.go Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
paths.go Healthcheck endpoints (#2303) 2022-03-25 13:25:15 +00:00
rate_limiting.go Rate limiting changes (#2519) 2022-06-07 14:24:04 +01:00
routing.go Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00