1
0
mirror of https://github.com/fluencelabs/js-libp2p synced 2025-03-17 08:00:51 +00:00

5 Commits

Author SHA1 Message Date
Alex Potsides
be8fc9daf1
fix: stop stream after first pong received ()
When connecting to go-IPFS from a webworker, the stream opened by
the ping protocol is never closed.

The change here uses `take` to only receive one buffer from the
remote node before closing the stream.
2020-02-03 15:50:40 +01:00
Jacob Heun
29a96690ad test(fix): fix listening test for ci 2020-01-24 14:40:40 +01:00
Vasco Santos
4f7586886c refactor: ping ()
* refactor: ping

* chore: ping is now a function

* chore: address review
2020-01-24 14:40:40 +01:00
Vasco Santos
a020db183a refactor: async routing ()
* feat: async routing

* chore: put dht extra api commands under content routing

* chore: add default option to createPeerInfo

Co-Authored-By: Jacob Heun <jacobheun@gmail.com>

* chore: address review

* chore: rm dlv
2020-01-24 14:40:40 +01:00
dirkmc
1999606ecc fix: replace peerInfo addresses with listen addresses ()
* feat: replace peer info addresses with listen addresses

* test: add listening test

* chore: fix linting
2020-01-24 14:40:40 +01:00