mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-25 03:14:14 +00:00
REALITY: Add rate limiting to fallback handling via token bucket (#4553)
https://github.com/XTLS/REALITY/pull/12
This commit is contained in:
parent
e011b746dc
commit
18ab291e0c
6 changed files with 180 additions and 39 deletions
|
@ -25,4 +25,13 @@ message Config {
|
|||
string spider_x = 25;
|
||||
repeated int64 spider_y = 26;
|
||||
string master_key_log = 27;
|
||||
|
||||
LimitFallback limit_fallback_upload = 28;
|
||||
LimitFallback limit_fallback_download = 29;
|
||||
}
|
||||
|
||||
message LimitFallback {
|
||||
uint64 after_bytes = 1;
|
||||
uint64 bytes_per_sec = 2;
|
||||
uint64 burst_bytes_per_sec = 3;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue