Commit Graph

4835 Commits

Author SHA1 Message Date
Juan Batiz-Benet
9ba450b425 p2p/crypto/secio: dont bother user with mac errs. 2015-02-02 21:05:33 -08:00
Juan Batiz-Benet
37007b9c2b p2p/protocol/id: log version mismatch disconnects 2015-02-02 21:05:33 -08:00
Juan Batiz-Benet
690619145a p2p/protocol/id: break on version mismatch.
TODOs:
- need to consolidate all the versioning stuff into one package
- need to do the version check as a handshake, before further
  communication happens. we used to do this.
2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
d13876ffe9 commands/id: version was flipped 2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
b0a1cf0371 ipfs swarm addrs: print out known addresses
this will help us introspect what's going on.
2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
756382a6c3 sharness/test-lib: wait longer for daemon
it keeps failing early.
2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
6b4664fc8b p2p/net/swarm: permute addrs in rate limited dials
so that we dont get stuck dialing bad addrs first always.
2015-02-02 21:04:14 -08:00
Juan Batiz-Benet
793048d310 p2p/net/swarm: rate limit dials. max of 10 addrs at a time.
This will mitigate the fd explosion, but slow down dials majorly
as any peer with more addresses than the rate limit will have
to wait a whole dial timeout (~15s)
2015-02-02 21:04:14 -08:00
Juan Batiz-Benet
e908effb4b AddrManager: use addr manager with smarter TTLs
This addr manager should seriously help with the addrsplosion
problem.
2015-02-02 21:04:14 -08:00
Juan Batiz-Benet
8b98c8fbdc p2p/peer/addr: manager with expirations 2015-02-02 21:04:13 -08:00
Juan Batiz-Benet
18ceb73efc dht: use our most recent Addrs 2015-02-02 21:04:13 -08:00
Juan Batiz-Benet
a5a60edd09 Merge pull request #732 from jbenet/remove_cats2
sharness/test-lib: remove some "cat" followed by |
2015-02-02 20:08:32 -08:00
Christian Couder
752f54e313 sharness/test-lib: remove some "cat" followed by |
The pattern "cat FILE | COMMAND" can be simplified
to just "COMMAND FILE" when COMMAND accepts files as
arguments.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-03 04:46:35 +01:00
Brian Tiger Chow
edb88dd916 Merge pull request #731 from jbenet/feat/repo-component-eventlog-config
Allow FSRepo components to depend on the config, add log config to eventlog
2015-02-02 19:44:22 -08:00
Brian Tiger Chow
c48aef415f feat(config) default Log.MaxSizeMB = 500 2015-02-02 18:26:47 -08:00
Brian Tiger Chow
454cd454ea feat(fsrepo) add eventlog config to repo/config struct 2015-02-02 17:49:19 -08:00
Juan Batiz-Benet
d0583768d1 Merge pull request #709 from jbenet/wrap
ipfs add -w
2015-02-02 10:27:08 -08:00
Matt Bell
48885377fc test/sharness: rm quotes 2015-02-02 10:13:46 -08:00
Matt Bell
e5f3ac99c3 core/coreunix: Documented return values 2015-02-02 10:13:33 -08:00
Matt Bell
54fef5ea96 test/sharness: Added tests for 'ipfs add -w' 2015-02-02 10:07:36 -08:00
Matt Bell
1ad5b345b8 core/commands: add: Added -w/--wrap-with-directory option 2015-02-02 10:07:35 -08:00
Matt Bell
62333521c6 core/coreunix: Created 'AddWrapped' function to add files with a wrapped directory (to preserve filename in path) 2015-02-02 10:07:35 -08:00
Juan Batiz-Benet
ecfae897b9 docs/fuse: updating installation instructions 2015-02-02 05:06:55 -08:00
Juan Batiz-Benet
22cf7d6a9f Merge pull request #391 from ebuchman/docs
docs folder and some fuse docs. closes #259
2015-02-02 04:58:17 -08:00
Brian Tiger Chow
2d718389ec Merge pull request #535 from jbenet/test/keep-pprof-data
feat: keep profiling data from test runs
2015-02-02 01:34:59 -08:00
Brian Tiger Chow
07529fa56a run profiler in test 2015-02-02 01:31:51 -08:00
Brian Tiger Chow
097c8a1166 feat(main): change pprof flag to IPFS_PROF
@jbenet @whyrusleeping thoughts?
2015-02-02 01:31:51 -08:00
Brian Tiger Chow
4af79b7135 clean old docker images 2015-02-02 01:31:51 -08:00
Brian Tiger Chow
093c87ef45 feat: keep profiling data from test runs 2015-02-02 01:31:51 -08:00
Brian Tiger Chow
d56917d860 fix(main): profile at top-level since work may be async 2015-02-02 01:16:45 -08:00
Juan Batiz-Benet
4b13b05f23 Merge pull request #722 from jbenet/fix/readerclose
ensure dagreaders are cleaned up after 'cat' command finishes
2015-02-02 01:11:26 -08:00
Jeromy
061a866306 ensure dagreaders are cleaned up after 'cat' command finishes 2015-02-02 08:33:54 +00:00
Brian Tiger Chow
7821f57652 Merge pull request #724 from jbenet/refactors/prep-for-gcr-2
More preparatory refactors/fixes/cleanups for GCR
2015-02-02 00:33:01 -08:00
Juan Batiz-Benet
2d9550f284 fix(eventlog) add *EventInProgress.Append method 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
68a007945b feat(eventlog) add Pair method 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
2968221603 log(dht/pb) include key in dht message loggable 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
195c2f3e28 log(bitswap) add message when message received 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
800a3eb940 refactor(bitswap) move workers to bottom of file 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
d9a8cfbd72 feat(bitswap) add deliverBlocks Event 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
4ae02bc022 fix(bitswap) rename PeerToQuery to send wantlist
log(bitswap) remove ambiguous event
2015-02-01 22:08:49 -08:00
Brian Tiger Chow
a1fc5f9cf7 log(bitswap/message) make bsmsg loggable 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
d78b76ddb4 log(bitswap) add bitswap loggable 2015-02-01 22:08:49 -08:00
Juan Batiz-Benet
81e7c2b84e log(secio): session loggable for event 2015-02-01 22:08:48 -08:00
Juan Batiz-Benet
7c7ec14109 p2p/net/conn: log conn lifetime event 2015-02-01 22:08:48 -08:00
Juan Batiz-Benet
29178e3c49 fix(bitswap/network/ipfs) ignore self as provider 2015-02-01 22:08:48 -08:00
Brian Tiger Chow
69333e47a4 Merge pull request #701 from jbenet/refactors/prep-for-gcr
Preparatory refactors/fixes/cleanups for GCR
2015-02-01 22:03:39 -08:00
Brian Tiger Chow
c2664288be fix(integrationtest) let amount of information match test name 2015-02-01 21:54:21 -08:00
Brian Tiger Chow
f9de5fb106 fix test name 2015-02-01 21:54:21 -08:00
Brian Tiger Chow
b47241a762 doc(p2p/mux) rm stale comment 2015-02-01 21:54:20 -08:00
Brian Tiger Chow
809e58f0dd refac(blockservice) extract waitable 2015-02-01 21:54:20 -08:00