mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
simplify connection reuse settings
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user