mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
parent
4c0652c51b
commit
4ba76099e4
@ -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")
|
||||
}))
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
Loading…
Reference in New Issue
Block a user