Commit Graph

11097 Commits

Author SHA1 Message Date
Brian Tiger Chow
ddc5bb89d7 vendor inflection package (MIT) 2015-01-30 06:57:41 -08:00
Brian Tiger Chow
6c2d799cb9 periodically print the number of keys in the wantlist (if any) 2015-01-30 06:57:41 -08:00
Brian Tiger Chow
49f2684c53 expose O(1) len 2015-01-30 06:57:41 -08:00
Brian Tiger Chow
351631a580 pass as param 2015-01-30 06:57:41 -08:00
Brian Tiger Chow
7e90fa95c9 log(bitswap): clean up 2015-01-30 06:57:41 -08:00
Brian Tiger Chow
76e3fd7101 Merge pull request #699 from jbenet/net-set-listener
p2p/net: network interface Listen func
2015-01-30 06:52:14 -08:00
Juan Batiz-Benet
df0967d6ee p2p/net: network interface Listen func
network interface now allows setting Listeners after the fact.
This is useful to create the network and start listening as
separate steps. And to keep the network up to date on new
addresses the node might have to listen to.
2015-01-30 06:51:29 -08:00
Juan Batiz-Benet
699bf215f9 p2p/net: network interface Listen func
network interface now allows setting Listeners after the fact.
This is useful to create the network and start listening as
separate steps. And to keep the network up to date on new
addresses the node might have to listen to.
2015-01-30 04:13:02 -08:00
Juan Batiz-Benet
23bdeaa972 Merge pull request #697 from jbenet/test/mv-epic-integration
rename epictest -> integrationtest
2015-01-30 01:09:05 -08:00
Brian Tiger Chow
fadedab003 rename epictest -> integrationtest 2015-01-29 22:22:25 -08:00
Juan Batiz-Benet
18f3481d6e Merge pull request #688 from jbenet/bootstrapper/gc-flag
decide whether to perform GC -- with flag
2015-01-29 16:44:04 -08:00
Juan Batiz-Benet
a182a47156 Merge pull request #695 from jbenet/fix/nil-id-mes
fix nil pointer panic on version strings in ID message
2015-01-29 16:40:24 -08:00
Juan Batiz-Benet
33eb14709e Merge pull request #694 from jbenet/fuse-seek
fuse/ipfs: seeking
2015-01-29 16:22:41 -08:00
Juan Batiz-Benet
a8bfa947d8 fuse/ipns: use Read() not ReadAll() 2015-01-29 16:12:45 -08:00
Juan Batiz-Benet
c05b4f06f0 fuse/ipfs: remove ReadAll 2015-01-29 16:12:45 -08:00
Juan Batiz-Benet
fcf7f0e7c1 fuse/ipfs: seeking
This commit changed the "ReadAll" to do proper read requests.
Seeking in fuse mounted fs now works. Note: this is why opening a
mounted video didnt work... we just didnt look at this code in
months.
2015-01-29 16:12:45 -08:00
Jeromy
97e99ca167 fix nil pointer panic on version strings in ID message 2015-01-29 23:07:32 +00:00
Jeromy Johnson
3c34ab8e0c Merge pull request #685 from jbenet/feat/path
implement path type
2015-01-29 11:20:07 -08:00
Jeromy
abb3c9c9c4 implement path type 2015-01-29 17:51:08 +00:00
Brian Tiger Chow
bbc8091085 provide flag to determine whether to perform GC 2015-01-29 02:29:02 -08:00
Juan Batiz-Benet
32a68c6f97 Merge pull request #686 from jbenet/exchange-with-connected
return connected peers as providers
2015-01-29 01:51:21 -08:00
Juan Batiz-Benet
1ce3ecf846 swarm: TestSimultOpenMany has problems in CI.
dialing 4000 connections somehow keeps choking both travis and
jenkins. dialing this down to 500
2015-01-29 01:25:54 -08:00
Juan Batiz-Benet
feb6d34134 bitswap/net: race fix in peers iteration 2015-01-29 01:16:45 -08:00
Juan Batiz-Benet
64191c1b31 bitswap: removed dubious error check test. 2015-01-29 01:10:01 -08:00
Juan Batiz-Benet
14eceee35e epictest: fix three-legged-cat
http://gateway.ipfs.io/ipfs/QmfUFkQuqjfQzLNhMLwiibiAxnAaZEJAbYkey9orXJ4aQe/3lcat.jpg
2015-01-29 01:10:01 -08:00
Juan Batiz-Benet
958cc61647 epictest: added test for bitswap wo routing 2015-01-28 23:55:30 -08:00
Brian Tiger Chow
afd3333cab optimization(bitswap) return connected peers as providers 2015-01-28 22:57:33 -08:00
Juan Batiz-Benet
17e542a559 Merge pull request #675 from jbenet/diag-helptext
add more help text for ipfs diag net
2015-01-28 17:14:35 -08:00
Juan Batiz-Benet
2a29413c5e Merge pull request #674 from jbenet/gateway
Gateway Changes
2015-01-28 17:12:19 -08:00
Juan Batiz-Benet
8ed1b14034 sharness: rename conflicting test 2015-01-28 17:02:04 -08:00
Juan Batiz-Benet
c36e8dd04c gateway: reordered headers to avoid error
cc @mappum
2015-01-28 16:55:00 -08:00
Matt Bell
21575ba535 test/sharness: Fixed gateway test formatting 2015-01-28 16:52:46 -08:00
Matt Bell
cea68afa2e core/corehttp: Handle Etag for caching 2015-01-28 16:50:16 -08:00
Matt Bell
fb986fd822 core/corehttp: Added cache headers to gatewayy requests 2015-01-28 16:48:07 -08:00
Matt Bell
2028d37076 test/sharness: Added basic gateway tests 2015-01-28 16:46:00 -08:00
Matt Bell
e4eb964f69 core/corehttp: Use consts for path prefixes 2015-01-28 16:43:45 -08:00
Matt Bell
2759d1c126 core/corehttp: Added handling of /ipns/<hash>/x paths 2015-01-28 16:38:36 -08:00
Matt Bell
950e492fc4 core/corehttp: Close DAGReaders when done 2015-01-28 16:01:42 -08:00
Matt Bell
58d401c3b0 core/corehttp: gateway_handler: Redirect to path with trailing slash when showing a directory's index.html 2015-01-28 16:01:42 -08:00
Matt Bell
df97b968a1 cmd/ipfs: Add empty gateway object when initting config 2015-01-28 16:01:42 -08:00
Matt Bell
7c5b276179 cmd/ipfs: daemon: Added root redirect handler to corehttp options (for both gateway and API) 2015-01-28 16:01:42 -08:00
Matt Bell
47774c5311 repo/config: Added Gateway options to config 2015-01-28 16:01:42 -08:00
Matt Bell
e2be5c2039 core/corehttp: Added RedirectOption 2015-01-28 16:01:41 -08:00
Matt Bell
b8fcece0e5 core/corehttp: Handle IPNS paths in gateway 2015-01-28 16:01:41 -08:00
Matt Bell
d338a81eca core/corehttp: Support Range requests in gateway handler 2015-01-28 15:49:55 -08:00
Juan Batiz-Benet
81bb548d23 p2p/net/swarm: fix TestDialBackoff
- attempts set to 1 now.
- timeouts must account for that.
2015-01-28 15:49:54 -08:00
Juan Batiz-Benet
9959775ff7 Merge pull request #684 from jbenet/fuse-emancipation
fuse: no longer require fuse to compile ipfs
2015-01-28 13:25:23 -08:00
Jeromy
72a5902e12 address concerns from PR 2015-01-28 19:36:30 +00:00
Jeromy
f1267d0624 change ipns resolve/publish to store raw keys, not b58 encoded 2015-01-28 19:36:30 +00:00
Juan Batiz-Benet
7ae3706b6d fuse: no longer require fuse to compile ipfs
This commit removes the dependency on go-fuse-version, and thus the
fuse headers. It also introduces an elaborate troubleshooting process
that diagnoses whether fuse installed -- and which version -- with as
little requirements as possible (attept to use sysctl, fall-back on
the go-fuse-version binary, etc). It then nicely instructs the user
what to do next.
2015-01-28 05:18:41 -08:00