mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-10 10:25:54 +00:00
7a95f1844b
* count published messages * don't call `switch.dial` in `subscribeToPeer` * add secureconn constructor * close in the correct order * concurent dial lock and track in/out conns better * make tests pass * add todo comment * disconect peers that open too many connections * wip * do connection and muxer tracking in one place * prevent nil pointer in observers * drop connections when peers is over max * prevent channel leaks * don't use closure to handle channel