mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-23 12:02:58 -05:00
refine buffer usage
This commit is contained in:
@@ -126,7 +126,7 @@ func (v *DokodemoDoor) handleUDPResponse(dest v2net.Destination, payload *alloc.
|
||||
if !v.accepting {
|
||||
return
|
||||
}
|
||||
v.udpHub.WriteTo(payload.Value, dest)
|
||||
v.udpHub.WriteTo(payload.Bytes(), dest)
|
||||
}
|
||||
|
||||
func (v *DokodemoDoor) ListenTCP() error {
|
||||
|
||||
Reference in New Issue
Block a user