docs
This commit is contained in:
parent
7c96dea359
commit
249cead13e
|
@ -123,6 +123,8 @@ fn recv_window(
|
||||||
let rsubs = subs.read().unwrap();
|
let rsubs = subs.read().unwrap();
|
||||||
for b in &dq {
|
for b in &dq {
|
||||||
let p = b.read().unwrap();
|
let p = b.read().unwrap();
|
||||||
|
//TODO this check isn't safe against adverserial packets
|
||||||
|
//we need to maintain a sequence window
|
||||||
if p.meta.addr() == rsubs.leader.addr {
|
if p.meta.addr() == rsubs.leader.addr {
|
||||||
//TODO
|
//TODO
|
||||||
//need to copy the retransmited blob
|
//need to copy the retransmited blob
|
||||||
|
|
Loading…
Reference in New Issue