mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-10 21:19:10 -04:00
Merged latest master
This commit is contained in:
@@ -2,12 +2,14 @@ package transport
|
||||
|
||||
import "github.com/v2ray/v2ray-core/transport/hub/kcpv"
|
||||
|
||||
// Config for V2Ray transport layer.
|
||||
type Config struct {
|
||||
ConnectionReuse bool
|
||||
enableKcp bool
|
||||
kcpConfig *kcpv.Config
|
||||
}
|
||||
|
||||
// Apply applies this Config.
|
||||
func (this *Config) Apply() error {
|
||||
if this.ConnectionReuse {
|
||||
connectionReuse = true
|
||||
|
||||
Reference in New Issue
Block a user