plugeth/p2p/nat
Felix Lange 1d25039ff5
p2p/nat: limit UPNP request concurrency (#21390)
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 (#17753) 2018-10-12 11:47:24 +02:00
nat.go p2p/nat: limit UPNP request concurrency (#21390) 2020-08-05 09:51:37 +02:00
natpmp.go build: use golangci-lint (#20295) 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 (#21390) 2020-08-05 09:51:37 +02:00