This commit is contained in:
JackDoan
2025-10-31 13:43:28 -05:00
parent 469a5fc350
commit 703ac81fa6
3 changed files with 3 additions and 4 deletions

View File

@@ -222,7 +222,7 @@ func (u *StdConn) ListenOut(r EncReader) {
}
}
r(addr, buffers[i][:payloadLen], 0)
r(addr, buffers[i][:payloadLen])
}
}
}
@@ -627,7 +627,7 @@ func (u *StdConn) emitSegments(r EncReader, addr netip.AddrPort, payload []byte,
//segment := append([]byte(nil), payload[start:end]...)
//q := numSegments % 4 //TODO
r(addr, payload[start:end], 0)
r(addr, payload[start:end])
numSegments++
//segments = append(segments, segment)
start = end