gotosocial/internal/middleware
tobi 90a14abb0c
[feature] HTTP request throttling middleware (#1297)
* [feature] Add throttling middleware to AP endpoints

* refactor a lil bit

* use config setting, start updating docs

* doc updates

* use relative links in faq doc

* small docs fixes

* return code 503 instead of 429 when throttled

* throttle other endpoints too

* simplify token channel prefills
2023-01-04 11:57:59 +01:00
..
cachecontrol.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
cors.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
extraheaders.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
gzip.go [chore] shuffle middleware to split rate limitting into client/s2s/fileserver, share gzip middleware globally (#1290) 2023-01-03 11:50:59 +01:00
logger.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
ratelimit.go [chore] shuffle middleware to split rate limitting into client/s2s/fileserver, share gzip middleware globally (#1290) 2023-01-03 11:50:59 +01:00
session.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
session_test.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
signaturecheck.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
throttling.go [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00
tokencheck.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00
useragent.go [chore] The Big Middleware and API Refactor (tm) (#1250) 2023-01-02 12:10:50 +00:00