From 02665220efc8f79c72810f7db22ad046164db6b9 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Mon, 5 Oct 2020 17:23:23 +0200 Subject: [PATCH] add FIXME --- tcp_syni.nim | 1 + 1 file changed, 1 insertion(+) 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?