simplify connection reuse settings

This commit is contained in:
v2ray
2016-06-02 20:52:52 +02:00
parent 9a8bc3fc3c
commit ff0cb89efa
8 changed files with 19 additions and 62 deletions
+1 -2
View File
@@ -16,7 +16,6 @@ import (
"github.com/v2ray/v2ray-core/common/retry"
"github.com/v2ray/v2ray-core/proxy"
proxyrepo "github.com/v2ray/v2ray-core/proxy/repo"
"github.com/v2ray/v2ray-core/transport"
)
// Point shell of V2Ray.
@@ -40,7 +39,7 @@ func NewPoint(pConfig *Config) (*Point, error) {
vpoint.listen = pConfig.ListenOn
if pConfig.TransportConfig != nil {
transport.ApplyConfig(pConfig.TransportConfig)
pConfig.TransportConfig.Apply()
}
if pConfig.LogConfig != nil {