0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 02:13:44 +01:00
dendrite/internal
S7evinK 25dcf80180
Ratelimit requests to /media/r0/download|upload (#2020)
* Add /media/r0/config handler

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add rate limiting to media api

* Rename variable

* Add passing tests

* Don't send multiple headers

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-11-24 12:55:44 +00:00
..
caching Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
eventutil - Removed double imports (#1989) 2021-09-08 17:31:03 +01:00
hooks MSC2836: Threading - part one (#1589) 2020-11-19 11:34:59 +00:00
httputil Ratelimit requests to /media/r0/download|upload (#2020) 2021-11-24 12:55:44 +00:00
sqlutil Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
test Don't populate config defaults where it doesn't make sense (#2058) 2021-11-24 11:57:39 +00:00
transactions Implement read receipts (#1528) 2020-11-09 18:46:11 +00:00
consumers.go Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00
log.go Fix building on Windows (#2008) 2021-11-02 16:50:59 +00:00
log_unix.go Fix building on Windows (#2008) 2021-11-02 16:50:59 +00:00
log_windows.go Fix building on Windows (#2008) 2021-11-02 16:50:59 +00:00
mutex.go Add a per-room mutex to federationapi when processing transactions (#1810) 2021-03-30 10:01:32 +01:00
version.go Version 0.5.1 (#2047) 2021-11-16 11:37:03 +00:00