add FIXME

This commit is contained in:
Christian Ulrich 2020-10-05 17:23:23 +02:00
parent 8dc5b5dd78
commit 02665220ef
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 1 additions and 0 deletions

View File

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