Alex Potsides
be8fc9daf1
fix: stop stream after first pong received ( #545 )
...
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 ( #505 )
...
* 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 ( #489 )
...
* 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 ( #485 )
...
* feat: replace peer info addresses with listen addresses
* test: add listening test
* chore: fix linting
2020-01-24 14:40:40 +01:00