1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-10 21:19:10 -04:00
This commit is contained in:
v2ray
2016-06-11 13:29:33 +02:00
parent b17edf907e
commit ffce784dce
2 changed files with 3 additions and 0 deletions

View File

@@ -1,9 +1,11 @@
package transport
// Config for V2Ray transport layer.
type Config struct {
ConnectionReuse bool
}
// Apply applies this Config.
func (this *Config) Apply() error {
if this.ConnectionReuse {
connectionReuse = true