1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-31 14:36:50 -05:00
v2fly/transport/internet/tcp/config.proto
lucifer 5df17338a1
Add PROXY protocol support to tcp inbound (#103)
* Add  PROXY protocol support to tcp inbound

* add settings for PROXY protocol

* Adjust hub.go

Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
2020-08-21 13:31:44 +00:00

16 lines
440 B
Protocol Buffer

syntax = "proto3";
package v2ray.core.transport.internet.tcp;
option csharp_namespace = "V2Ray.Core.Transport.Internet.Tcp";
option go_package = "tcp";
option java_package = "com.v2ray.core.transport.internet.tcp";
option java_multiple_files = true;
import "v2ray.com/core/common/serial/typed_message.proto";
message Config {
reserved 1;
v2ray.core.common.serial.TypedMessage header_settings = 2;
bool accept_proxy_protocol = 3;
}