0514b0034b
Do not allow undefined peerInfo
...
# What
The code assumes that `peerInfo` exists, the API doesn't.
# How to test
```js
swarm = new Swarm()
swarm.addTransport('tcp', tcp, { multiaddr: mh }, {}, {port: 8095})
```
This shouldn't explode because of `self.peerInfo.multiaddrs`.
2015-09-26 16:24:46 +02:00
1ba8e80d4d
rm laf
2015-09-23 20:34:31 +01:00
fb37b4dec9
clear unused console logs
2015-09-23 19:57:37 +01:00
2000827273
add identify
2015-09-23 19:14:29 +01:00
168d01befd
stream muxer for connection reuse test
2015-09-23 17:25:21 +01:00
0040be765d
add spdy + test
2015-09-23 17:11:32 +01:00
416e107d64
quick fix for travis
2015-09-22 17:50:41 +01:00
59b00f6886
use warmed up connection + test
2015-09-22 17:27:37 +01:00
8e8d8e9093
dial on a protocol + test
2015-09-22 16:50:42 +01:00
5e4cca52c0
dial a conn + test
2015-09-22 16:16:21 +01:00
e1df0b9ecd
add transport and close listener test
2015-09-22 14:31:23 +01:00
73a6a4fd45
adding transports works
2015-09-21 19:56:42 +01:00
1833ded0f7
making progress
2015-09-21 16:46:04 +01:00
326f56206c
to v4
2015-09-14 12:06:41 +01:00
f1d796f47b
Fix swarm.closeConns
2015-07-31 23:13:05 +02:00
13659ecb40
swarm: Fix self.handles data structure
2015-07-31 17:56:36 +02:00
648eb7c666
add last seen date to the peer
2015-07-30 14:35:59 -07:00
8911d72648
add new openConnection option
2015-07-25 18:42:36 -07:00
5a4d9ee4ed
Identify working with protobufs and observed addrs
2015-07-17 12:05:02 -07:00
0d82f9decc
remove unnecessary logs
2015-07-15 15:38:01 -07:00
1ed32f6531
fix RST_STREAM bug
2015-07-15 12:20:52 -07:00
93509debe1
add multistream and muxer tests
2015-07-15 11:34:40 -07:00
a2a7df870b
add multistream and muxer tests
2015-07-15 11:34:37 -07:00
b4cc1d5852
connection reuse with identify
2015-07-10 14:06:51 -07:00
a5b2524873
connection reuse test
2015-07-10 12:28:40 -07:00
a80a5fc32b
fixed Uncaught Error exception bug (node: every stream gets the socket error propagated)
2015-07-09 23:45:58 -07:00
44de105428
for indutny
2015-07-09 20:00:59 -07:00
0aab8ead56
for indutny
2015-07-09 20:00:54 -07:00
f08d407bf9
clean the code a bit
2015-07-09 15:45:13 -07:00
14d11de201
clean the code a bit
2015-07-09 15:45:03 -07:00
572c7e4cfa
identify + test refactor and reorg
2015-07-09 13:53:03 -07:00
9c062ffeeb
have at least one test
2015-07-08 23:01:36 -07:00