Closed
Description
idea:
some additional controls over establishing/denying connections
- hooks for denying connections before they are established (when possible)
- ConnectionManager configuration that can limit the number of connections per transport
usecase:
MetaMask is building an Ethereum light client for the browser using libp2p.
We intend to use webrtc which is resource intensive and can only safely support 2-5 active connections.
We need to be able to deny incoming webrtc connection attempts after some threshold.