Commit Graph

396 Commits

Author SHA1 Message Date
Jeromy bd4f4b5bcf gx version bump 2016-04-11 11:31:47 -07:00
Jeromy 177889d23e gx publish 2016-04-11 11:31:00 -07:00
Jeromy Johnson b12b73d0cc Merge pull request #35 from ipfs/fix/listener-hang
Handle incoming conns in their own goroutines
2016-04-11 11:16:46 -07:00
Jeromy 261b113530 add a test with connections timing out 2016-04-11 11:06:22 -07:00
Lars Gierth 2b226b9b5a Fix address filtering for /ip6, add tests
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-04-10 23:50:39 -07:00
Jeromy Johnson 9ce2eebd25 Merge pull request #30 from Stebalien/local-api
Allow users to override the IPFS API address when fetching dependencies
2016-04-10 19:22:18 -07:00
Jeromy e123a79f92 make test smaller for osx 2016-04-10 11:32:17 -07:00
Jeromy d3a90434f1 add test to show concurrency of dials 2016-04-10 11:05:53 -07:00
Jeromy 9d44390084 address feedback from CR 2016-04-10 10:21:25 -07:00
Jeromy b938ab9ab6 Handle incoming conns in their own goroutines
Doing the multistream negotiation in sync causes hanging issues.
This commit accepts transport connections and starts the negotiation
in a separate goroutine, sending it down a channel when its ready.
2016-04-09 23:02:23 -07:00
Jeromy 59928fbad4 add roadmap.md 2016-04-08 12:24:46 -07:00
Jeromy 0d2ae7b73f don't break listener on failed msmux negotiation 2016-04-06 18:41:59 -07:00
Jeromy Johnson fe95f0a086 Merge pull request #33 from ipfs/feat/multistream-crypto
add multistream select to select which crypto to use
2016-04-06 13:48:16 -07:00
Jeromy cb974e87c1 rename protocols after discussion 2016-04-06 13:06:05 -07:00
Jeromy 9c68f44a14 version multistream protocol tags 2016-04-06 12:14:06 -07:00
Jeromy 60d096098e use different protocol tag for unencrypted transport 2016-04-06 11:32:17 -07:00
Jeromy 200d7a872f add multistream select to select which crypto to use 2016-04-06 11:18:03 -07:00
Jeromy c7cc7482e3 update utp lib 2016-03-29 18:38:24 -07:00
Jeromy 90a6977bd9 fix accidental find and replace fail 2016-03-29 18:11:59 -07:00
Steven Allen cdc8b78e97 allow users to override the IPFS API address when fetching dependencies 2016-03-28 10:23:58 -07:00
Jeromy Johnson c9ef94cc04 Merge pull request #28 from mnp/master
fix #27, bad link
2016-03-19 10:16:08 -07:00
Mitchell Perilstein c769229bf7 fix link 2016-03-19 10:18:35 -04:00
Jeromy Johnson 7369636014 Update README.md 2016-03-16 11:19:18 -07:00
Jeromy Johnson 11a1fbb0ef Merge pull request #25 from ipfs/feat/update-streams
switch to new version of go-stream-muxer
2016-03-08 18:18:33 -08:00
Jeromy ec85e0bbdf bump yamux backlog setting way up 2016-03-08 17:40:52 -08:00
Jeromy 955ae93a4b switch to new version of go-stream-muxer 2016-03-07 22:43:13 -08:00
Jeromy Johnson be1f55801d Merge pull request #22 from ipfs/feat/fallback-dialer
Add fallback dialer
2016-03-04 16:49:02 -08:00
Jeromy 5ec1f553f0 fix fallback code and add a few new tests 2016-03-04 16:16:58 -08:00
Jeromy 1b84a1cc9d Add fallback dialer
Previously we were unable to dial on a given transport if there were no
listener addresses defined for that. This meant that most people couldnt
use utp (as they had no utp listener transport to dial from).
2016-03-04 09:27:52 -08:00
Jeromy Johnson 03aa3d252e Merge pull request #21 from ipfs/feat/mafmt
use multiaddr format to do validation of addresses
2016-03-03 15:16:46 -08:00
Jeromy 648902840d use multiaddr format to do validation of addresses 2016-03-03 14:56:00 -08:00
Jeromy Johnson e7ff04cef6 Merge pull request #20 from ipfs/feat/update-maddr
update version of go-multiaddr
2016-03-03 14:53:49 -08:00
Jeromy a458b0392d fix gx installs to gateway 2016-03-03 14:41:39 -08:00
Jeromy 7b48e5bc4d update version of go-multiaddr 2016-03-03 13:03:24 -08:00
Jeromy 7d1706f7ab make mdns service tag conform to standards 2016-03-01 23:24:29 -08:00
Jeromy 1deeb429fb record ping latencies in peerstore 2016-02-21 09:51:43 -08:00
Jeromy Johnson cddfee5ad3 Merge pull request #15 from ipfs/fix/address-observe
add remote multiaddr from active connection to peerstore
2016-02-17 21:10:45 -08:00
Jeromy 933f457576 add travis caching 2016-02-17 09:43:59 -08:00
Jeromy e4934f1014 add remote multiaddr from active connection to peerstore 2016-02-16 21:25:00 -08:00
Jeromy Johnson 8c511da9b0 Merge pull request #16 from ipfs/fix/travis
make travis install gx deps
2016-02-16 20:00:23 -08:00
Jeromy 98c7ca0d86 finish deps rewrite 2016-02-16 17:02:00 -08:00
Jeromy c8eb5a4bf1 make travis install gx deps 2016-02-16 16:13:58 -08:00
Jeromy Johnson 176713e3b4 Merge pull request #14 from dignifiedquire/patch-1
Remove superfluous square bracket
2016-02-16 12:02:14 -08:00
Friedel Ziegelmayer b60792620c Remove superfluous square bracket 2016-02-16 20:57:34 +01:00
Jeromy c14ec1c4dc change listener errors to warnings 2016-02-13 16:22:20 -08:00
Jeromy 8d928334b5 make PeerInfo loggable 2016-02-10 09:32:01 -08:00
Jeromy 9600c039a0 correct go-keyspace dep 2016-01-31 15:23:48 -08:00
Jeromy 62af652294 update to utp code from master of go-ipfs 2016-01-30 17:12:33 -08:00
Jeromy Johnson a24d8ba910 Merge pull request #13 from tilgovi/cleanup-secio-reader-overflow
Leave overflow logic to go-msgio
2016-01-29 20:52:33 -08:00
Randall Leeds f580951130 Leave overflow logic to go-msgio
go-msgio implements the message length limit (currently 8MB), so the
secio reader can get away without re-implementing this logic.

Instead, the reader lets go-msgio allocate a buffer when the output
buffer is too small to hold the incoming message. This buffer is kept
and drained into the output buffer(s) of Read() calls and released back
to the msgio instance once it is fully drained.

License: MIT
Signed-off-by: Randall Leeds <randall@bleeds.info>
2016-01-29 17:45:17 -08:00