nim-libp2p-experimental/libp2p
Dmitriy Ryajov 73168b6eae
Add support for multiple addresses to transports (#598)
* add test for multiple local addresses

* allow transports to listen on multiple addrs

* fix tcp transport accept

* check switch addrs are correct

* switch test to port 0

* close accepted peers on close

* ignore CancelledError in transport accept

* test ci

* only accept in accept loop

* avoid accept greedyness

* close acceptedPeers

* accept doesn't crash on cancelled fut

* add common transport test

* close conn on handling failure

* close accepted peers in two steps

* test for macos

* revert accept greedyness

* fix dialing cancel

* test chronos fix

* add ws

* ws cancellation

* small fix

* remove chronos blocked test

* fix testping

* Fix transport's switch start (like #609)

* bump chronos

* Websocket: handle both ws & wss

Co-authored-by: Tanguy Cizain <tanguycizain@gmail.com>
Co-authored-by: Tanguy <tanguy@status.im>
2021-11-24 14:01:12 -06:00
..
crypto Various cleanups part 1 (#632) 2021-10-25 10:26:32 +02:00
daemon Various cleanups part 1 (#632) 2021-10-25 10:26:32 +02:00
muxers Short agent fix (#645) 2021-11-08 18:33:37 +01:00
nameresolving Integrate dns resolving (#615) 2021-11-08 13:02:03 +01:00
protobuf Various cleanups part 1 (#632) 2021-10-25 10:26:32 +02:00
protocols Gossipsub: don't send to peers seen during validation (#648) 2021-11-14 09:08:05 +01:00
stream Various cleanups part 1 (#632) 2021-10-25 10:26:32 +02:00
transports Add support for multiple addresses to transports (#598) 2021-11-24 14:01:12 -06:00
upgrademngrs Short agent fix (#645) 2021-11-08 18:33:37 +01:00
utils adding raises defect across the codebase (#572) 2021-05-21 10:27:01 -06:00
builders.nim Add support for multiple addresses to transports (#598) 2021-11-24 14:01:12 -06:00
cid.nim fix peer score accumulation (#541) 2021-03-09 13:22:52 +01:00
connmanager.nim Various cleanups part 1 (#632) 2021-10-25 10:26:32 +02:00
debugutils.nim Remove peer info (#610) 2021-09-08 11:07:46 +02:00
dial.nim merge latest master 2021-06-02 12:25:36 -06:00
dialer.nim Integrate dns resolving (#615) 2021-11-08 13:02:03 +01:00
errors.nim use LPError more consistently (#582) 2021-06-02 15:39:10 +02:00
multiaddress.nim Remove isWire (#640) 2021-10-28 19:11:31 +02:00
multibase.nim fix peer score accumulation (#541) 2021-03-09 13:22:52 +01:00
multicodec.nim DNS Addresses handling (#580) 2021-08-18 09:40:12 +02:00
multihash.nim fix peer score accumulation (#541) 2021-03-09 13:22:52 +01:00
multistream.nim Various cleanups part 1 (#632) 2021-10-25 10:26:32 +02:00
peerid.nim Merge pull request #651 from status-im/unstable 2021-11-16 17:36:00 +01:00
peerinfo.nim Various cleanups part 1 (#632) 2021-10-25 10:26:32 +02:00
peerstore.nim Remove peer info (#610) 2021-09-08 11:07:46 +02:00
standard_switch.nim More builders (#560) 2021-04-06 14:16:23 -06:00
switch.nim Add support for multiple addresses to transports (#598) 2021-11-24 14:01:12 -06:00
transcoder.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
utility.nim now wild `except:` 2021-03-15 16:48:11 +09:00
varint.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
vbuffer.nim make `isLiteral` compatible with ARC and ORC (#602) 2021-07-01 12:05:50 +02:00
wire.nim Websocket Transport (#593) 2021-08-03 15:48:03 +02:00