Dirk McCormick
ff9123d53c
revert: "feat: listen to array of multiaddrs ( #104 )"
...
This reverts commit 5009c2ca49f5e3f1ce8e8fe5f0bd88edbc13b5d8.
2019-08-19 13:46:21 +02:00
Dirk McCormick
bba2084476
feat: abort after connect
2019-08-19 13:46:02 +02:00
Jacob Heun
d5be5ba7ed
feat: listen to array of multiaddrs ( #104 )
...
* feat: support listen on array
* chore: fix missing deps
* chore: update interface version
* docs: update readme for array listen
* test: use port 0
* docs: add some more jsdocs
* chore: fix travis support for ip6 on linux
* refactor: clean up some code
2019-08-19 13:46:01 +02:00
Dirk McCormick
e18a3d51a6
feat: cancel dials with AbortController
2019-08-19 13:43:56 +02:00
Dirk McCormick
bc1aeefd0d
chore: callbacks -> async / await
...
BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await
2019-08-19 13:43:32 +02:00
Diogo Silva
ded1f6831c
feat: add class-is module
2018-04-05 16:55:54 +01:00
David Dias
de1d7fe75c
chore: tiny refactor
2018-02-07 06:40:00 +00:00
David Dias
9c77a69ae3
chore: tiny refactor
2018-02-07 06:26:02 +00:00
Dmitriy Ryajov
11c4f451f4
feat: relay filtering
...
* feat: filter IPFS addrs correctly
* feat: mafmt addrs now support /ipfs no need for ad-hoc filtering
* feat: skip p2p-circuit addresses
2017-10-13 17:13:28 +02:00
David Dias
e204517a51
fix: catch errors on incomming sockets
2017-04-07 11:51:56 -04:00
David Dias
fb382a3e2a
codestyle: fix linting
2017-03-27 16:21:26 +01:00
Friedel Ziegelmayer
4d4f295dd5
fix(dial): proper error handling on dial ( #77 )
2017-03-27 16:18:55 +01:00
Prashanth Chandra
49e23f1961
refactor: use lodash.includes
instead of lodash.contains
...
As `loadash.contains` is deprecated.
2016-12-04 13:28:18 +01:00
David Dias
d9f65e0b0c
feat(readme): add pull-streams documentation
2016-09-05 18:31:34 -04:00
dignifiedquire
5e89a2608b
feat(pull): migration to pull-streams
2016-09-05 18:31:34 -04:00
David Dias
cba4b8b94a
pass the err on the callback too
2016-06-23 08:41:54 +01:00
David Dias
9ac5cca946
fix: error was passed in duplicate
2016-06-23 08:35:49 +01:00
David Dias
539a007031
comply with the latest interface-transport and interface-connection spec
2016-06-22 09:36:08 +01:00
dignifiedquire
2ed01e8f5b
fix: address cr
2016-05-31 21:49:12 +02:00
dignifiedquire
4a121696d1
fix: destroy hanging connections after timeout
2016-05-31 14:48:18 +02:00
David Dias
abd71d76e4
support for tcp addrs with ipfs in the end as well
2016-05-29 08:56:24 +01:00
Friedel Ziegelmayer
3f4f163f40
refactor: use aegir
2016-05-09 11:14:40 +02:00
David Dias
749db165ce
do not callback with error on no listeners to close
2016-05-08 21:50:03 +01:00
David Dias
c253a44f59
switch from throw to send err to callback
2016-04-25 02:13:49 +01:00
Stephen Whitmore
b43f6ffb6f
Makes callback optional on close.
2016-04-21 15:56:38 -07:00
Stephen Whitmore
6d1b729fcd
Removes unused options param.
2016-04-21 15:36:39 -07:00
David Dias
4499bba514
add filter feature
2016-03-14 16:57:54 +00:00
David Dias
77600d3a8b
add getObservedAddrs feature to every returned conn
2016-03-10 10:24:48 +00:00
David Dias
500ca9b699
done
2016-03-04 23:26:28 +00:00
David Dias
0b6361e27a
multiple listeners, more tests, understand multiaddr on the listen function
2016-03-04 19:02:25 +00:00
David Dias
470d8bfc6a
after many solo-bikeshedding, figured out that I could make it way simpler
2015-09-15 19:43:55 +01:00
David Dias
7e2e383f1b
1st iteration
2015-09-15 19:08:19 +01:00