From 2c437040902bd3747e254ed69f862c0b453f9134 Mon Sep 17 00:00:00 2001 From: wyx2685 Date: Tue, 4 Mar 2025 05:05:02 +0900 Subject: [PATCH] update xray-core v25.3.3 --- go.mod | 2 +- go.sum | 4 ++-- limiter/limiter.go | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 87df5f2..0ba1894 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/sirupsen/logrus v1.9.3 github.com/spf13/cobra v1.8.1 github.com/spf13/viper v1.19.0 - github.com/xtls/xray-core v1.8.25-0.20250302130755-b9cb93d3c23d + github.com/xtls/xray-core v1.8.25-0.20250303153022-e15dff94b5bd go.uber.org/zap v1.27.0 golang.org/x/crypto v0.35.0 golang.org/x/sys v0.30.0 diff --git a/go.sum b/go.sum index c9c97de..bef2261 100644 --- a/go.sum +++ b/go.sum @@ -1032,8 +1032,8 @@ github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQ github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xtls/reality v0.0.0-20240909153216-e26ae2305463 h1:g1Cj7d+my6k/HHxLAyxPwyX8i7FGRr6ulBDMkBzg2BM= github.com/xtls/reality v0.0.0-20240909153216-e26ae2305463/go.mod h1:BjIOLmkEEtAgloAiVUcYj0Mt+YU00JARZw8AEU0IwAg= -github.com/xtls/xray-core v1.8.25-0.20250302130755-b9cb93d3c23d h1:dOX4b+WxmlICFx5hUxXaYkcIcqaQ03lX+BPuCzxSXgA= -github.com/xtls/xray-core v1.8.25-0.20250302130755-b9cb93d3c23d/go.mod h1:0n4A2nJD1yZlxuXexV5rJODKcJJo8zpbTFcESVg8fgM= +github.com/xtls/xray-core v1.8.25-0.20250303153022-e15dff94b5bd h1:xzZCYhdr1pL1kZe7GysAMuVNtlzXqsQKTFbc1xvR+bI= +github.com/xtls/xray-core v1.8.25-0.20250303153022-e15dff94b5bd/go.mod h1:0n4A2nJD1yZlxuXexV5rJODKcJJo8zpbTFcESVg8fgM= github.com/yandex-cloud/go-genproto v0.0.0-20241220122821-aeb3b05efd1c h1:Rnr+lDYXVkP+3eT8/d68iq4G/UeIhyCQk+HKa8toTvg= github.com/yandex-cloud/go-genproto v0.0.0-20241220122821-aeb3b05efd1c/go.mod h1:0LDD/IZLIUIV4iPH+YcF+jysO3jkSvADFGm4dCAuwQo= github.com/yandex-cloud/go-sdk v0.0.0-20241220131134-2393e243c134 h1:qmpz0Kvr9GAng8LAhRcKIpY71CEAcL3EBkftVlsP5Cw= diff --git a/limiter/limiter.go b/limiter/limiter.go index a6470f5..b24209f 100644 --- a/limiter/limiter.go +++ b/limiter/limiter.go @@ -164,8 +164,6 @@ 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