Commit Graph

4612 Commits

Author SHA1 Message Date
Juan Batiz-Benet
c0c4fd3842 Merge pull request #1085 from ipfs/bloomfilter-hamming-distance
Add hamming distance calculation to bloom filters
2015-04-19 15:23:48 -07:00
Juan Batiz-Benet
ff34efba75 re-vendored hamming lib with license 2015-04-19 13:59:56 -07:00
Juan Batiz-Benet
e817852424 Merge pull request #1091 from ipfs/bitswap-perf
add more bitswap task workers
2015-04-19 13:29:51 -07:00
Jeromy Johnson
43eeab9549 change env var for bitswap
changed IPFS_TASK_WORKERS to IPFS_BITSWAP_TASK_WORKERS
2015-04-19 13:10:43 -07:00
Jeromy
16e04356b9 address comments from CR 2015-04-19 11:19:51 -07:00
Jeromy
3629d7d548 make number of workers tuneable by an env var 2015-04-17 15:57:50 -07:00
Jeromy
3178dfe78b add more bitswap task workers 2015-04-17 12:43:31 -07:00
Juan Batiz-Benet
a97e9e70c7 Merge pull request #1087 from ipfs/bitswap-perf
increase window size for yamux streams
2015-04-17 01:33:52 -07:00
Jeromy
30ee01f19d increase window size for yamux streams 2015-04-16 20:56:40 -07:00
Kristoffer Ström
20383472c7 Add additional link manipulation functions
// AddRawLink adds a link to this node
AddRawLink(name string, lnk *Link) error

// Return a copy of the link with given name
GetNodeLink(name string) (*Link, error)
2015-04-15 17:22:52 +02:00
Kristoffer Ström
2c3f9f2419 Add hamming distance calculation to bloom filters 2015-04-15 17:13:47 +02:00
Juan Batiz-Benet
240633414e Merge pull request #1079 from ipfs/chriscool-readme-fix-todo
README: alpha version has been released
2015-04-14 09:21:14 -07:00
Christian Couder
89961d9d9f README: alpha version has been released 2015-04-14 15:57:40 +02:00
Juan Batiz-Benet
e225e9f255 Merge pull request #1074 from ipfs/fix/warning-logs
move log messages out of warning level
2015-04-14 00:46:57 -07:00
Juan Batiz-Benet
7c9bfa056e Merge pull request #1073 from ipfs/secio-err-echo
secio: better error detection
2015-04-13 22:12:12 -07:00
Juan Batiz-Benet
127c03255a secio: better error detection
The same keys + nonces in secio were being observed. As described in
https://github.com/ipfs/go-ipfs/issues/1016 -- the handshake must
be talking to itself. This can happen in an outgoing TCP dial with
REUSEPORT on to the same address.
2015-04-13 21:52:56 -07:00
Jeromy
e186e740de move log messages out of warning level 2015-04-13 19:48:55 -07:00
Juan Batiz-Benet
695a15e78d Merge pull request #1069 from mlovci/patch-1
Fixed broken http link in README.md
2015-04-13 15:20:11 -07:00
Michael Lovci
aaa2a20730 Fixed broken link
Markdown didn't have "http://" so the link returned 404
2015-04-13 19:15:34 -03:00
Juan Batiz-Benet
5c934cca34 Merge pull request #1068 from mlovci/master
Fix hub.docker.com URL
2015-04-13 15:11:38 -07:00
Michael Lovci
e7115ba71d undo URL problems 2015-04-13 18:57:12 -03:00
Michael Lovci
2329ca117c Formatting bug 2015-04-13 18:56:19 -03:00
Juan Batiz-Benet
ef1ceeab40 Merge pull request #1067 from mlovci/master
Added documentation for docker usage.
2015-04-13 14:02:11 -07:00
Michael Lovci
94c67bf7ff Formatting README.md for readibility 2015-04-13 17:42:27 -03:00
Michael Lovci
686bf81444 Changed docker hub source URL 2015-04-13 17:34:37 -03:00
Michael Lovci
97217c92a5 Added documentation for docker usage. #1052 2015-04-13 12:03:15 -03:00
Juan Batiz-Benet
ed06488e55 Merge pull request #1056 from ipfs/fix/listen_err
log listeners dying as at least a warning
2015-04-12 19:38:49 -07:00
Juan Batiz-Benet
730b00bf56 Merge pull request #1064 from ipfs/fix/interupt-error
fix ugly error message when killing commands
2015-04-12 15:35:37 -07:00
Juan Batiz-Benet
97e1c95370 Merge pull request #1063 from AtnNn/publish-path
Publish by path
2015-04-12 15:00:18 -07:00
Etienne Laurin
233c39ff62 publish by path 2015-04-12 21:51:58 +00:00
Jeromy
f74e71f965 fix ugly error message when killing commands 2015-04-12 14:49:45 -07:00
Juan Batiz-Benet
264ada5131 Merge pull request #1061 from ipfs/update-goprocess
updated goprocess to deal with memory leak
2015-04-12 14:30:53 -07:00
Juan Batiz-Benet
78bb5f4937 Merge pull request #1062 from ipfs/bugfix-add-error
bugfix: add was not setting error
2015-04-12 08:02:47 -07:00
Juan Batiz-Benet
69db1b4ec5 bugfix: add was not setting error 2015-04-12 07:53:04 -07:00
Juan Batiz-Benet
dbef4efd38 updated goprocess to deal with memory leak 2015-04-12 04:40:22 -07:00
Juan Batiz-Benet
11a85c7d89 Merge pull request #1058 from ipfs/gateway-head
corehttp: added support for HEAD requests
2015-04-12 02:45:52 -07:00
Juan Batiz-Benet
3c1d78c672 corehttp: added support for HEAD requests
This commit adds HEAD support to the IPFS Gateway.
Related: #840
2015-04-12 02:35:16 -07:00
Jeromy
db79e89ae7 log listeners dying as at least a warning 2015-04-11 18:21:22 -07:00
Ho-Sheng Hsiao
9bb369b372 [DOCS] Added a nofuse build note for Windows 2015-04-09 22:36:11 -07:00
Ho-Sheng Hsiao
e4c5440da0 DOCS: Updated FUSE docs 2015-04-09 22:27:04 -07:00
Juan Batiz-Benet
6036b043b1 Merge pull request #1038 from ipfs/reuseport-disable
reuseport: env var to turn it off
2015-04-08 01:29:00 -07:00
Juan Batiz-Benet
f1566e2327 reuseport: env var to turn it off
reuseport is a hack. It is necessary for us to do certain kinds of
tcp nat traversal. Ideally, reuseport would be available in go:

  https://github.com/golang/go/issues/9661

But until that issue is fixed, we're stuck with this. In some cases,
reuseport is strictly a detriment: nodes are not NATed. This commit
introduces an ENV var IPFS_REUSEPORT that can be set to false to
avoid using reuseport entirely:

  IPFS_REUSEPORT=false ipfs daemon

This approach addresses our current need. It could become a config
var if necessary. If reuseport continues to give problems, we should
look into improving it.
2015-04-08 00:19:12 -07:00
Juan Batiz-Benet
20dbea5e5c Merge pull request #1032 from torarnv/cleanup-makefiles
Fix various issues in the test makefiles
2015-04-07 17:51:37 -07:00
Tor Arne Vestbø
f2dd060e4a Don't use wildcards to look for .go files in tests makefile
GNU Make's wildcard function does not recurse into subdirectories when
passed the '**' glob, which results in adding a dependency only to .go
files in the first level of subdirectories under the source root.

We shell out to 'find' instead, which catches all .go files in the
given directory.
2015-04-07 21:22:04 +02:00
Tor Arne Vestbø
7b49419d93 Fix dependencies in sharness test makefile
Running make -jN would result in the tests starting to execute
before the tests binaries were built, resulting in the error:

 "Cannot find the tests' local ipfs tool"

Each test now depends on the deps. They also depend on a new
target for cleaning the test results, so that the tests can
write new clean results.

The aggregate target also needs to depend on the same test
results clean target, as well as the tests themselves, so
that the aggregation happens when all tests have finished
running.

By introducing a separate target for cleaning test results we
also ensure that we don't end up removing and rebuilding
the binary on each test run.

The result is that the tests *can* be run with with -jN > 1,
but individual tests may still not supports this, so to get
stable test results it's still recommended to run them in
sequence.
2015-04-07 21:21:58 +02:00
Tor Arne Vestbø
d36a9eef2b Ensure IPFS-BUILD-OPTIONS build dependency is created
If the file doesn't exist, make will conclude that the missing
prerequisite should trigger a rebuild of the binaries.
2015-04-07 21:09:45 +02:00
Juan Batiz-Benet
096420cb0d Merge pull request #1021 from ipfs/bloom-filter-fix
Make bloom filters simpler
2015-04-07 09:45:11 -07:00
Kristoffer Ström
3d8e96a22e Make bloom filters simpler
These did not work before, and had some unnecessary complexity.

Now the filters use only one hashing function, no bignum arithmetic, and gets the additional bit positions by repeatedly hashing the result of prior hash.

Since we're not concerned about crypto hashing here, this should be a win.

External interfaces unchanged.
2015-04-07 18:03:15 +02:00
Juan Batiz-Benet
b041ccdcf3 Merge pull request #1031 from torarnv/unify-shutdown-msg
Unify shutdown message format string
2015-04-07 06:33:15 -07:00
Tor Arne Vestbø
675e2c7f85 Unify shutdown message format string 2015-04-07 14:12:22 +02:00