Commit Graph

449 Commits

Author SHA1 Message Date
Jeromy Johnson 494ade379b Merge pull request #115 from libp2p/feat/improve-mdns
don't block on DiscoverHandler
2016-09-20 08:08:35 -07:00
Jeromy e6a5c5c241 don't block on DiscoverHandler 2016-09-20 00:28:58 -07:00
Jeromy Johnson 4d1c7a91f3 Merge pull request #91 from libp2p/fix/add-conn-setup-deadline
swarm: add deadline for connection setup
2016-09-18 05:41:08 -07:00
Jeromy 9441754369 swarm: add deadline for connection setup 2016-09-18 03:17:22 -07:00
Jeromy Johnson 4ae3510f1a Merge pull request #107 from libp2p/feat/better-dialsync
Improve swarm dial sync code
2016-09-16 15:12:07 -04:00
Jeromy Johnson d3f70d185e Merge pull request #114 from libp2p/feat/context-dial
conn/dial: implement contextDial up the stack
2016-09-16 15:11:27 -04:00
Richard Littauer 8c7eede2de Merge pull request #113 from noffle/patch-1
Fix libp2p spec link
2016-09-16 13:51:04 -04:00
Stephen Whitmore 2f82ff82e4 Update remaining libp2p spec links. 2016-09-16 10:09:41 -07:00
Jakub Sztandera c9ca072904
update go-reuseport to 0.1.0 2016-09-16 14:26:46 +02:00
Jeromy d70e1625a8 conn/dial: implement contextDial up the stack 2016-09-15 22:32:51 -07:00
Stephen Whitmore c9281c4c1a Fix libp2p spec link
Addresses https://github.com/libp2p/go-libp2p/issues/41
2016-09-15 10:23:31 -07:00
Jeromy Johnson 86d85deaf1 Merge pull request #95 from libp2p/feat/nat-permanent-retry
Retry NAT punching without duration on mapping failure
2016-09-14 18:38:15 -04:00
Jakub Sztandera 90eeff42fc
nat: add locks around nat 2016-09-13 13:54:32 +02:00
Jakub Sztandera b6bfae67a0
nat: split into files 2016-09-13 13:54:32 +02:00
Jakub Sztandera 51ffdf87d4
nat: do not shortcircuit permanent mappings
If we use same NAT agent and call for the same permanent mapping
again we get the same mapping, no harm done.

If router dies, we will remap again.
Just pros, no cons.
2016-09-13 13:54:32 +02:00
Jakub Sztandera a3bf168759
Retry NAT punching without duration on mapping failure
Some hardware doesn't support UPnP with durations.
2016-09-13 13:54:32 +02:00
Jeromy 8c41425460 gx publish v3.5.2 2016-09-12 14:16:33 -07:00
Jeromy 632eeab6d0 gx publish v3.5.1 2016-09-11 22:03:14 -07:00
Jeromy e31be275df gx publish v3.5.0 2016-09-11 16:39:39 -07:00
Jeromy Johnson 2b78e7435f Merge pull request #108 from libp2p/identify-send-key
identify: send + consume public keys too
2016-09-11 19:16:57 -04:00
jbenet aafaf38683 identify: handle case where local peer.ID is empty 2016-09-11 19:05:16 -04:00
jbenet 17d39398e9 identify: tests verify we have public keys 2016-09-11 19:05:16 -04:00
jbenet 83eddcae92 identify: consume public key in message.
Make sure to verify that our keys match.
In the rare event they do not, make sure to investigate
what's wrong, and log errors.
2016-09-11 19:05:16 -04:00
jbenet 65273ab3e7 identify: send public key in message 2016-09-11 18:35:51 -04:00
Jeromy 126e150674 swarm: integrate new dialsync code into swarm 2016-09-08 10:37:32 -07:00
Jeromy e26950ff77 swarm: implement new DialSync manager code 2016-09-08 10:37:15 -07:00
Jeromy 71efb2ccb2 swarm: perform backoff check before taking dialsync lock 2016-09-07 18:48:22 -07:00
Jeromy Johnson b45c89792d Merge pull request #104 from libp2p/fix/secio-hs-errs
swarm: externalize secio handshake errors
2016-09-06 17:59:53 -04:00
Jeromy Johnson 06db40041e Merge pull request #102 from libp2p/feat/connectedness
swarm: add optimized method for checking connectedness to peer
2016-09-06 17:54:57 -04:00
Jeromy 5758d3e652 swarm: externalize secio handshake errors 2016-09-05 14:48:28 -07:00
Jeromy 324aae38f1 swarm: add optimized method for checking connectedness to peer 2016-09-05 13:25:24 -07:00
Jeromy Johnson 23ccae5d16 Merge pull request #101 from geoah/master
Update go-libp2p-peerstore to 1.2.4
2016-09-05 11:53:49 -04:00
George Antoniadis 6c337efb8a Update go-libp2p-peerstore to 1.2.4 2016-09-05 16:32:09 +01:00
Jeromy 9a9a8de2c7 don't wrap conns with metrics if bwc is nil 2016-09-04 10:50:07 -07:00
Jeromy ab39c6f524 don't use ipfsaddr 2016-09-04 10:45:31 -07:00
Jeromy f9cd03e625 allow hosts example to use secio 2016-09-04 10:37:32 -07:00
Jeromy Johnson cab16ee439 Merge pull request #99 from libp2p/feat/pass-smux
swarm: pass in stream muxer on construct
2016-09-04 08:20:15 -07:00
Jeromy a56440a9c7 swarm: pass in stream muxer on construct 2016-09-04 08:13:36 -07:00
Jeromy Johnson 04b3077f46 Merge pull request #98 from geoah/master
Bump 'go-libp2p-loggables', 'go-libp2p-secio', '*-transport', and 'go-libp2p-peerstore'
2016-09-03 19:24:02 -07:00
Jeromy Johnson 0b0f6fd18d Merge pull request #97 from libp2p/feat/just-tcp-example
Feat/just tcp example
2016-09-03 19:09:39 -07:00
George Antoniadis a64093e6b6 Bump 'ws-transport' to '1.0.6' 2016-09-03 19:59:16 +01:00
Jeromy 713d9a8798 examples: example using swarm and raw tcp (no muxing) 2016-09-03 10:43:31 -07:00
Jeromy 978b186d81 swarm: refactor to make modular construction easier 2016-09-03 10:43:27 -07:00
George Antoniadis 54cd2c5c46 Bump 'go-libp2p-loggables', 'go-libp2p-secio', '*-transport', and 'go-libp2p-peerstore' 2016-09-03 18:42:50 +01:00
Jeromy Johnson 40a5c58c00 Merge pull request #53 from libp2p/feat/exp-ws-support
add in experimental websocket support
2016-08-26 15:06:50 -07:00
Jeromy Johnson f5e4ebfebf Merge pull request #94 from libp2p/feat/go-nat-update
Update go-nat
2016-08-25 12:20:45 -07:00
Jakub Sztandera 3d2a26eda2
update go-nat 2016-08-24 23:23:12 +02:00
Jeromy faced1efd2 add note to test failure 2016-08-24 13:03:30 -07:00
Jeromy b1456b79b6 add in experimental websocket support 2016-08-24 09:42:27 -07:00
Jeromy 7ac44bb2d6 gx publish v3.4.1 2016-08-22 22:17:07 -07:00