1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 06:16:09 -04:00

Revert "none security config"

This reverts commit 9b883af99c.
This commit is contained in:
Shelikhoo 2021-09-05 10:59:02 +01:00
parent 4c0652c51b
commit 4ba76099e4
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
2 changed files with 0 additions and 13 deletions

View File

@ -128,9 +128,3 @@ func (c *ProxyConfig) HasTag() bool {
func (m SocketConfig_TProxyMode) IsEnabled() bool {
return m != SocketConfig_Off
}
func init() {
common.Must(common.RegisterConfig((*NoneSecurity)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
return nil, newError("none security is a placeholder")
}))
}

View File

@ -8,8 +8,6 @@ option java_multiple_files = true;
import "google/protobuf/any.proto";
import "common/protoext/extensions.proto";
enum TransportProtocol {
TCP = 0;
UDP = 1;
@ -96,8 +94,3 @@ message SocketConfig {
int32 tcp_keep_alive_interval = 8;
}
message NoneSecurity {
option (v2ray.core.common.protoext.message_opt).type = "security";
option (v2ray.core.common.protoext.message_opt).short_name = "none";
}