1
0
forked from cerc-io/plugeth
plugeth/p2p/nat
Felix Lange 1d25039ff5
p2p/nat: limit UPNP request concurrency ()
This adds a lock around requests because some routers can't handle
concurrent requests. Requests are also rate-limited.
 
The Map function request a new mapping exactly when the map timeout
occurs instead of 5 minutes earlier. This should prevent duplicate mappings.
2020-08-05 09:51:37 +02:00
..
nat_test.go p2p, p2p/discover: add signed ENR generation () 2018-10-12 11:47:24 +02:00
nat.go p2p/nat: limit UPNP request concurrency () 2020-08-05 09:51:37 +02:00
natpmp.go build: use golangci-lint () 2019-11-18 10:49:17 +02:00
natupnp_test.go p2p/nat: disable UPnP test on windows 2015-08-06 17:18:59 +02:00
natupnp.go p2p/nat: limit UPNP request concurrency () 2020-08-05 09:51:37 +02:00