mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
add packet encoding support in simplified socks5 server config
This commit is contained in:
parent
31d248aac7
commit
e7ffcfd4f6
@ -15,6 +15,7 @@ func init() {
|
||||
AuthType: socks.AuthType_NO_AUTH,
|
||||
Address: simplifiedServer.Address,
|
||||
UdpEnabled: simplifiedServer.UdpEnabled,
|
||||
PacketEncoding: simplifiedServer.PacketEncoding,
|
||||
}
|
||||
return common.CreateObject(ctx, fullServer)
|
||||
}))
|
||||
|
@ -8,6 +8,7 @@ option java_multiple_files = true;
|
||||
|
||||
import "common/protoext/extensions.proto";
|
||||
import "common/net/address.proto";
|
||||
import "common/net/packetaddr/config.proto";
|
||||
|
||||
message ServerConfig{
|
||||
option (v2ray.core.common.protoext.message_opt).type = "inbound";
|
||||
@ -15,6 +16,7 @@ message ServerConfig{
|
||||
|
||||
v2ray.core.common.net.IPOrDomain address = 3;
|
||||
bool udp_enabled = 4;
|
||||
v2ray.core.net.packetaddr.PacketAddrType packet_encoding = 7;
|
||||
}
|
||||
|
||||
message ClientConfig {
|
||||
|
Loading…
Reference in New Issue
Block a user