Dmitriy Ryajov 7a95f1844b
Concurrent dials (#238)
* 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
2020-06-24 09:08:44 -06:00
..
2020-06-22 19:03:15 +02:00
2020-06-20 19:56:55 +09:00
2020-06-24 09:08:44 -06:00
2020-06-24 09:08:44 -06:00
2020-06-24 09:08:44 -06:00
2020-05-31 16:22:49 +02:00
2020-05-26 16:08:09 +09:00
2020-06-24 09:08:44 -06:00
2020-03-23 15:03:36 +09:00
2020-05-31 16:22:49 +02:00
2020-05-31 16:22:49 +02:00