nim-libp2p/libp2p/stream
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
..
bufferstream.nim Cleanup lpstream, Connection and BufferStream (#228) 2020-06-19 11:29:43 -06:00
chronosstream.nim Concurrent dials (#238) 2020-06-24 09:08:44 -06:00
connection.nim Concurrent dials (#238) 2020-06-24 09:08:44 -06:00
lpstream.nim Concurrent dials (#238) 2020-06-24 09:08:44 -06:00
streamseq.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00