mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-22 23:13:46 +00:00
remove use of Buffer.Value
This commit is contained in:
10 files changed
+21
-22
No files matched your search
@@ -24,7 +24,7 @@ func (v *OutboundConnectionHandler) Dispatch(destination v2net.Destination, payl
|
||||
|
||||
v.Destination = destination
|
||||
if !payload.IsEmpty() {
|
||||
v.ConnOutput.Write(payload.Value)
|
||||
v.ConnOutput.Write(payload.Bytes())
|
||||
}
|
||||
payload.Release()
|
||||
|
||||
|
||||
Reference in new issue
Block a user