Juan Batiz-Benet
ae0386cfba
user friendliness in logs + output
10 years ago
Juan Batiz-Benet
44fe2f0709
p2p/host: doc options
10 years ago
Juan Batiz-Benet
d7a5d2ecd2
p2p: own addresses gotten from host
10 years ago
Juan Batiz-Benet
8a2f08f32e
p2p/net/conn: reuse timeout is real error
should be returning false.
10 years ago
Juan Batiz-Benet
3b5d1164c8
p2p/nat: managed by host now.
Exposing the NAT to the core is unnecessary. The Host can take
care of it. If a need emerges, we can address it then.
10 years ago
Juan Batiz-Benet
afaddf4c8b
p2p/nat: re-factors nat object
- allow retrieving addresses
- allow notifications on mapping changes
- allow lifecycle mgmt (future commit will manage it)
10 years ago
Juan Batiz-Benet
33a944bc5b
p2p/nat: upnp + pmp
10 years ago
Juan Batiz-Benet
382daf3d7f
Merge pull request #640 from jbenet/races
more races 2015-01-24
10 years ago
Juan Batiz-Benet
ef4fb9dd10
p2p/net/swarm: TestDialBackoffClears CI Timeout
increased the timeout for other CI too
10 years ago
Juan Batiz-Benet
ffc7eac22d
p2p/net/dial: fixed data race
10 years ago
Juan Batiz-Benet
992c520a25
p2p/net/swarm: notifications
10 years ago
Brian Tiger Chow
95f2f8cb75
remove prefix logger
10 years ago
Jeromy
bb4ad4494b
really ugly impl of 'ipfs dht query' command
10 years ago
Juan Batiz-Benet
b20f767eb4
p2p/net/conn: timeouts are real failures.
10 years ago
Juan Batiz-Benet
bdda7ff6b6
p2p/proto/id: more helpful log
10 years ago
Juan Batiz-Benet
07d52b3351
p2p/proto/mux: make log more useful
10 years ago
Juan Batiz-Benet
33dcef5f89
p2p/net/swarm + conn: logs + debugerr output
10 years ago
Juan Batiz-Benet
d5a3bf1fa8
p2p/net/swarm: half the timeout of dial
10 years ago
Juan Batiz-Benet
dec34b48e3
p2p/net/swarm/addr: check for nil addr
10 years ago
Juan Batiz-Benet
3037ac2e34
p2p/net/conn: only reuseport if avail
10 years ago
Juan Batiz-Benet
e77e4b1357
p2p/test/reconnect: fixed race condition
10 years ago
Juan Batiz-Benet
6012b8675c
p2p/net/conn: cleaner reuse port setup
This commit cleans up the reuse port setup, and fixes a problem:
make sure to filter addrs out that we simply cannot dial with
(e.g. loopback -> non-loopback, or linklocal -> nonlinklocal)
10 years ago
Juan Batiz-Benet
c91463e43f
p2p/net/conn: log when reuse fails
10 years ago
Juan Batiz-Benet
958eecfe46
p2p/proto/identify: use observed listen addrs
This commit finally makes use of the sent observed addrs.
If the connection's local address is from one of our
listen addrs, then the remote's observed addr is its
natted mapping, which is useful to us. For now, we add
it directly to our address book. (a future commit should
make addressbook addresses expire)
10 years ago
Juan Batiz-Benet
11b94db5e3
p2p/test/reconnects: faster tests
10 years ago
Juan Batiz-Benet
51f5bce55b
p2p/net/conn: use reuseport
10 years ago
Brian Tiger Chow
1c3448efd6
rm unused proto
cc @jbenet @whyrusleeping
10 years ago
Brian Tiger Chow
bb0dc22735
eventlog: rm noisy low-signal statement
10 years ago
Brian Tiger Chow
36444ac75f
hold lock during map access
10 years ago
Brian Tiger Chow
f54e0c74ab
move generic packages to thirdparty (see thirdparty/README.md)
10 years ago
Jeromy
9c45696a4b
rewrite as single line defer logs
10 years ago
Jeromy
ffb41231ab
starting to move important events over to EventBegin/Done
10 years ago
Brian Tiger Chow
b9011990f4
fix(mux) expose method to SetDefaultHandler
10 years ago
Brian Tiger Chow
8bbcc9992a
fix: privatize Mux fields
10 years ago
Juan Batiz-Benet
83e6bbf5de
testing/ci: all env var checks now use new pkgs
Good thing, i checked one wrong, too!
10 years ago
Juan Batiz-Benet
9f8999a8cf
p2p/net/swarm: fix travis env flag val
the travis docs say the env flag TRAVIS=true but, i want
to make absolutely sure. explicitness leaves less room for
error.
10 years ago
Juan Batiz-Benet
126c2b39f4
p2p/net/swarm: fix racey test
10 years ago
Juan Batiz-Benet
ebb51b28a9
Merge pull request #551 from jbenet/fix-swarm-more-connect
p2p/net/swarm: more connection bugs
10 years ago
Juan Batiz-Benet
0789599c8a
p2p/net/swarm: nicer test timeouts for travis
10 years ago
Juan Batiz-Benet
0f910195a0
p2p/net/swarm: parallelize tests. poor travis.
10 years ago
Juan Batiz-Benet
70002a38f7
p2p/net/swarm: extensive dial tests
10 years ago
Juan Batiz-Benet
d49b6fedf5
p2p/net/swarm: sync diagram explain
10 years ago
Juan Batiz-Benet
207156fab4
p2p/net/swarm: async grabbing of best conn
this is actually pretty important in case some peers end
up changing addrs, so others dont fail dialing simply for
picking the wrong addr to start with.
10 years ago
Juan Batiz-Benet
9d9e2a3ba9
p2p/net/swarm: configurable timeout for tests
10 years ago
Juan Batiz-Benet
3d3ffc45a6
p2p/net/swrm: InterfaceListenAddrs now method
10 years ago
Juan Batiz-Benet
5de997f0b7
p2p/net/swarm: dial backoff
This commit introduces a backoff when failing to dial
peers. It makes everything much faster.
10 years ago
Juan Batiz-Benet
cbe80237ee
p2p/net/swarm: dial timeout to 10s + dialer
10 years ago
Juan Batiz-Benet
9982e25151
p2p/net/swarm: more connection bugs
* filtering InterfaceListenAddresses(s) instead
* return error if for loops skip
* large dial timeout
10 years ago
Brian Tiger Chow
aadb0bb3de
refactor(repo/config) move config under repo
10 years ago
Juan Batiz-Benet
0a68f258f5
p2p/net/swarm: fixed bugs in swarm err closes
10 years ago