remove old vmess request

This commit is contained in:
v2ray committed 2016-02-27 22:37:22 +01:00
1 parent 81bc2ff91d
commit 3ec40eedc1
6 files changed
+2 -401

No files matched your search

+1 -2
View File
@@ -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)
}