test: Singbox内核删除用户时尝试关闭该用户所有TCP会话

This commit is contained in:
wyx2685
2025-03-05 19:54:06 +09:00
parent 61606646b9
commit 1c8c17b067
4 changed files with 64 additions and 15 deletions

View File

@@ -164,6 +164,8 @@ func (l *Limiter) CheckLimit(taguuid string, ip string, isTcp bool, noSSUDP bool
} else {
userLimit = determineSpeedLimit(u.SpeedLimit, u.DynamicSpeedLimit)
}
} else {
return nil, true
}
if noSSUDP {
// Store online user for device limit