mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
remove old vmess request
This commit is contained in:
1 parent
81bc2ff91d
commit
3ec40eedc1
6 files changed
+2
-401
No files matched your search
@@ -16,7 +16,6 @@ import (
|
||||
"github.com/v2ray/v2ray-core/proxy"
|
||||
"github.com/v2ray/v2ray-core/proxy/internal"
|
||||
vmessio "github.com/v2ray/v2ray-core/proxy/vmess/io"
|
||||
"github.com/v2ray/v2ray-core/proxy/vmess/protocol"
|
||||
"github.com/v2ray/v2ray-core/transport/hub"
|
||||
)
|
||||
|
||||
@@ -197,7 +196,7 @@ func init() {
|
||||
}
|
||||
config := rawConfig.(*Config)
|
||||
|
||||
allowedClients := proto.NewTimedUserValidator(protocol.IDHash)
|
||||
allowedClients := proto.NewTimedUserValidator(proto.DefaultIDHash)
|
||||
for _, user := range config.AllowedUsers {
|
||||
allowedClients.Add(user)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user