mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-06 17:25:27 -05:00
configuration for connection reuse
This commit is contained in:
@@ -16,6 +16,7 @@ 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.
|
||||
@@ -38,6 +39,10 @@ func NewPoint(pConfig *Config) (*Point, error) {
|
||||
vpoint.port = pConfig.Port
|
||||
vpoint.listen = pConfig.ListenOn
|
||||
|
||||
if pConfig.TransportConfig != nil {
|
||||
transport.ApplyConfig(pConfig.TransportConfig)
|
||||
}
|
||||
|
||||
if pConfig.LogConfig != nil {
|
||||
logConfig := pConfig.LogConfig
|
||||
if len(logConfig.AccessLog) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user