diff --git a/tcp_syni.nim b/tcp_syni.nim index 4ca7381..6e4fa9c 100644 --- a/tcp_syni.nim +++ b/tcp_syni.nim @@ -253,6 +253,7 @@ proc doAccept(puncher: TcpSyniPuncher, srcIp: IpAddress, else: let attempt = puncher.acceptAttempts[i] attempt.future.complete(peer) + # FIXME: we have to check if more attempts on this endpoint exist and break otherwise else: let attempts = puncher.findAcceptAttemptsByLocalAddr(srcIp, srcPort) # FIXME: should attempts have timestamps, so we can decide here which ones to delete?