1
0
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:
Darien Raymond
2016-12-05 15:19:14 +01:00
parent 9ecf89657c
commit cf3eb0e77d
16 changed files with 73 additions and 45 deletions

View File

@@ -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 {