mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-21 03:39:08 -04:00
enable conn reuse settings in mkcp
This commit is contained in:
@@ -439,10 +439,12 @@ func (this *Connection) updateTask() {
|
||||
}
|
||||
|
||||
func (this *Connection) Reusable() bool {
|
||||
return false
|
||||
return this.Config.ConnectionReuse.IsEnabled() && this.reusable
|
||||
}
|
||||
|
||||
func (this *Connection) SetReusable(b bool) {}
|
||||
func (this *Connection) SetReusable(b bool) {
|
||||
this.reusable = b
|
||||
}
|
||||
|
||||
func (this *Connection) Terminate() {
|
||||
if this == nil {
|
||||
|
||||
Reference in New Issue
Block a user