mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-30 05:55:20 -05:00
refine buffer usage
This commit is contained in:
@@ -139,7 +139,7 @@ func (v *Server) handlerUDPPayload(payload *alloc.Buffer, session *proxy.Session
|
||||
}
|
||||
defer data.Release()
|
||||
|
||||
v.udpHub.WriteTo(data.Value, source)
|
||||
v.udpHub.WriteTo(data.Bytes(), source)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user