mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 15:18:31 +08:00
复用pl对象,减少copy性能损耗
This commit is contained in:
@@ -108,7 +108,7 @@ func tunWrite(ifce *water.Interface, cSess *sessdata.ConnSession) {
|
||||
return
|
||||
}
|
||||
|
||||
putPayload(pl)
|
||||
putPayloadInBefore(cSess, pl)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user