remove udp-level RX reorder buf

This commit is contained in:
JackDoan
2026-05-06 13:51:05 -05:00
parent f31f6c5d1f
commit 9104dc4c34
4 changed files with 1 additions and 310 deletions
+1
View File
@@ -223,6 +223,7 @@ func (f *Interface) handleOutsideRelayPacket(hostinfo *HostInfo, via ViaSender,
// Forward this packet through the relay tunnel, rebuilding it in place.
// Encode overwrites the old outer header, and the new AEAD tag lands where the old one was
fwdBuf := packet[:0:len(packet)] // Cap to len(packet) to protect memory from a larger parent buffer
//todo it would potentially be nice to batch these
f.SendVia(targetHI, targetRelay, signedPayload, nb, fwdBuf, true)
case TerminalType:
hostinfo.logger(f.l).Error("Unexpected Relay Type of Terminal")