punch 20 holes to help the peer traverse our SymmetricRandom NAT

master
Christian Ulrich 2020-11-20 22:47:18 +01:00
parent 25acfc9518
commit de26d60617
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ proc main() =
var ctx: QuicP2PContext
var socks = newSeq[AsyncSocket]()
randomize()
for i in 0 .. 9:
for i in 0 .. 19:
# FIXME: close socks
let sock = newAsyncSocket(sockType = SOCK_DGRAM, protocol = IPPROTO_UDP,
buffered = false)