Jeromy
f574cd4b80
Move findproviders out of main block request path
...
This PR moves the addition of new blocks to our wantlist (and their
subsequent broadcast to the network) outside of the clientWorker loop.
This allows blocks to more quickly propogate to peers we are already
connected to, where before we had to wait for the previous findProviders
call in clientworker to complete before we could notify our partners of
the next blocks that we want. I then changed the naming of the
clientWorker and related variables to be a bit more appropriate to the
model. Although the clientWorker (now named providerConnector) feels a
bit awkward and should probably be changed.
fix test assumption
2015-05-29 18:28:36 -07:00
Juan Batiz-Benet
6f155239ef
Merge pull request #1305 from ipfs/maint/dropUUID
...
godeps: drop uuid from code.google.com
2015-05-29 18:17:22 -07:00
Henry
46db9de2d9
godeps: drop uuid from code.google.com
2015-05-30 02:56:36 +02:00
Juan Batiz-Benet
5d43ebb916
Merge pull request #1274 from ipfs/refactor/importer
...
change pinning to happen in a callback
2015-05-29 17:06:11 -07:00
Juan Batiz-Benet
ecdf14962c
Merge pull request #1294 from rht/cleanup-tour
...
Cleanup tour
2015-05-29 16:59:17 -07:00
Juan Batiz-Benet
c2f4db1369
Merge pull request #1301 from ipfs/maint/fuse
...
Maint/fuse
2015-05-29 16:43:34 -07:00
Henry
e9074beb6d
godeps: update bazil.org/fuse
...
fuse: Attr() now has a Context parameter and error return value
~GOPATH/src/bazil.org/fuse:master$ git shortlog 48c34fb7780b88aca1696bf865508f6703aa47f1..e4fcc9a2c7567d1c42861deebeb483315d222262
Tommi Virtanen (8):
Remove dead code
Make saveLookup take Context, return error
Make serveNode.attr take Context, return error
Make nodeAttr take Context, return error
API change: Move attribute validity time inside Attr
Set attribute validity default time in one place
API change: Attr method takes Context, returns error
Set LookupResponse validity times up front, instead of after the handler
2015-05-30 01:07:14 +02:00
Jeromy
a0aa07e39f
rename root to last
2015-05-29 13:33:45 -07:00
Juan Batiz-Benet
97d75891b0
Merge pull request #1297 from ipfs/sharness/daemon
...
sharness/t0060-daemon: don't reuse expect/actual names
2015-05-29 12:54:58 -07:00
Juan Batiz-Benet
787bacfe0d
Merge pull request #1300 from ipfs/maint/mdns
...
mdns: use my fork of hashicorp/mdns
2015-05-29 12:34:00 -07:00
Henry
37b32a6587
sharness/daemon: improve error detection
2015-05-29 14:20:07 +02:00
Henry
13a7d27b4c
mdns: use my fork of hashicorp/mdns
...
upstream didn't respond to the request to update their dependencies
2015-05-29 01:30:44 +02:00
Henry
dba455a59d
sharness/t0060-daemon: don't reuse expect/actual names
2015-05-28 18:01:50 +02:00
Jeromy
38479ff1d3
docs
2015-05-28 08:52:20 -07:00
Jeromy
b660f937bd
make callback take a node instead of a key
2015-05-28 08:52:20 -07:00
Jeromy
dd928a2b1d
change pinning to happen in a callback
2015-05-28 08:52:20 -07:00
Jeromy
270b47702e
catch other error that means the file is locked
2015-05-26 17:19:53 -07:00
rht
3547f7ae33
Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)'
2015-05-26 23:18:04 +07:00
Jeromy Johnson
b3e73c62fe
Merge pull request #1292 from diasdavid/patch-1
...
Change one of the "ipfs" to "ipns"
2015-05-26 08:03:06 -07:00
rht
8cad2d2c89
Move 'tour' to core/commands
...
Side effect: this makes 'tour' accessible through the HTTP API
2015-05-26 21:04:03 +07:00
David Dias
b2e45da0cc
Change one of the "ipfs" to "ipns"
2015-05-26 13:07:54 +01:00
Juan Batiz-Benet
4e71ce3cc7
Merge pull request #1272 from Luzifer/fix/dnslink
...
Fix: dnslink domain resolving was broken; Add: no caching for those
2015-05-24 18:47:54 +02:00
Juan Batiz-Benet
dacdeb1081
Merge pull request #1285 from ipfs/t0040-stdin-add-tests
...
t0040: test ipfs add with stdin
2015-05-24 18:24:47 +02:00
Christian Couder
ee3092f882
t0040: test ipfs add with stdin
...
Let's test 'ipfs add' with stdin input too.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-05-23 21:02:24 +02:00
Juan Batiz-Benet
0d1072a80b
Merge pull request #1281 from ipfs/fix/bs-race
...
fix minor data race in bitswap
2015-05-22 23:30:35 +02:00
Juan Batiz-Benet
c8cb8d9c39
Merge pull request #1278 from ipfs/fix/bs-cmd-offline
...
make bitswap commands error out properly offline
2015-05-22 22:54:51 +02:00
Jeromy
a3356b0417
fix minor data race in bitswap
2015-05-22 13:39:03 -07:00
Juan Batiz-Benet
10c362823e
Merge pull request #1282 from travisperson/bug/panic-on-empty-path
...
Bug/panic on empty path
2015-05-22 22:29:14 +02:00
Travis Person
2c71c54823
Named error for no components
...
Update the previous `invalid path` error to match the error returned
from `SplitAbsPath`.
2015-05-22 09:18:49 -07:00
Travis Person
d96246c622
Fixed tests to actually test for the error we are seeking
...
Cleaned the tests, and actually test for the error.
2015-05-22 08:56:33 -07:00
Travis Person
dcc4da0b37
Replaced old logic to check for valid path
...
Added the original logic to check for a invalid path and a simple test.
2015-05-22 08:56:33 -07:00
Travis Person
42289d4f21
Daemon panics if no path is given
...
If no path after `/ipfs/` or `/ipns/` is given, then the daemon will
panic with a slice bounds out of range error. This checks to see if we
have anything after `ipfs` or `ipns`.
2015-05-22 08:56:33 -07:00
Juan Batiz-Benet
988b158dc7
Merge pull request #1276 from ipfs/debug/perm-fail
...
trying to debug permissions failure
2015-05-22 12:02:07 +02:00
Jeromy
648526d8f0
make bitswap commands error out properly offline
2015-05-21 22:41:44 -07:00
Jeromy
eff73ccce7
error -> notice, bitswap
2015-05-21 21:24:42 -07:00
Jeromy
cc905539ae
trying to debug permissions failure
2015-05-21 17:24:38 -07:00
Jeromy Johnson
8b94abd199
Merge pull request #1275 from ipfs/fix/resolution
...
fix offline full path resolution bug
2015-05-21 15:19:05 -07:00
Jeromy
60ac59139c
fix offline full path resolution bug
2015-05-21 14:45:30 -07:00
Juan Batiz-Benet
5853eac344
Merge pull request #1218 from ipfs/refactor/bitswap
...
large refactor of bitswap, implement wantmanager to manage wantlist
2015-05-21 15:47:14 -04:00
Jeromy
ce0d2f46d6
defer tock.Stop()
2015-05-21 03:08:32 -04:00
Jeromy
2f934e8c58
warning -> notice
2015-05-21 03:08:32 -04:00
Jeromy
b71a0aced0
clarify synhronization constructs
2015-05-21 03:08:32 -04:00
Jeromy
c273a3bd4f
better bitswap logging
2015-05-21 03:08:32 -04:00
Jeromy
2882c793e2
add a distribution test with the rebroadcast delay disabled
2015-05-21 03:08:32 -04:00
Juan Batiz-Benet
2eac921e1d
fixup the bitswap readme
2015-05-21 03:08:32 -04:00
Jeromy
829b88420e
explicitly set bitswap message fullness
2015-05-21 03:08:31 -04:00
Jeromy
594c7786c3
turn rebroadcast back on
2015-05-21 03:08:31 -04:00
Jeromy
6ab4bfea95
turn tests down a bit and better context passing
2015-05-21 03:08:31 -04:00
Jeromy
65f815a27b
move taskdone inside lock boundaries
2015-05-21 03:08:31 -04:00
Jeromy
32da687774
fix race bugs
2015-05-21 03:08:31 -04:00