From c5d356545e6963f7add64380984fd9bc8f1c9da6 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 4 Jan 2018 11:24:17 +0100 Subject: [PATCH] comments for typed messages --- common/protocol/user.proto | 2 +- transport/internet/config.proto | 3 ++- transport/internet/tcp/config.proto | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/protocol/user.proto b/common/protocol/user.proto index b92574c7..56e5d024 100644 --- a/common/protocol/user.proto +++ b/common/protocol/user.proto @@ -13,6 +13,6 @@ message User { uint32 level = 1; string email = 2; - // Protocol specific account information. + // Protocol specific account information. Must be the account proto in one of the proxies. v2ray.core.common.serial.TypedMessage account = 3; } \ No newline at end of file diff --git a/transport/internet/config.proto b/transport/internet/config.proto index 43530205..ad4f3409 100644 --- a/transport/internet/config.proto +++ b/transport/internet/config.proto @@ -19,7 +19,7 @@ message TransportConfig { // Type of network that this settings supports. TransportProtocol protocol = 1; - // Specific settings. + // Specific settings. Must be of the transports. v2ray.core.common.serial.TypedMessage settings = 2; } @@ -32,6 +32,7 @@ message StreamConfig { // Type of security. Must be a message name of the settings proto. string security_type = 3; + // Settings for transport security. For now the only choice is TLS. repeated v2ray.core.common.serial.TypedMessage security_settings = 4; } diff --git a/transport/internet/tcp/config.proto b/transport/internet/tcp/config.proto index dadfb593..92e060cd 100644 --- a/transport/internet/tcp/config.proto +++ b/transport/internet/tcp/config.proto @@ -11,4 +11,4 @@ import "v2ray.com/core/common/serial/typed_message.proto"; message Config { reserved 1; v2ray.core.common.serial.TypedMessage header_settings = 2; -} \ No newline at end of file +}