Commit Graph

11097 Commits

Author SHA1 Message Date
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
Juan Batiz-Benet
0c94b6502a Merge pull request #1029 from MichaelMure/patch-2
ipfs-completion.bash: add the missing get command
2015-04-07 04:58:55 -07:00
Michael Muré
e8f51c2d57 ipfs-completion.bash: add the missing get command 2015-04-07 13:55:27 +02:00
Juan Batiz-Benet
06c834458d Merge pull request #1028 from torarnv/extend-peer-handshake-logging
Extend logging when peer handshake detects clashing/same keys
2015-04-07 04:32:49 -07:00
Tor Arne Vestbø
0bb4df9d3b Extend logging when peer handshake detects clashing/same keys 2015-04-07 13:20:46 +02:00
Juan Batiz-Benet
f2aba08c9a Merge pull request #1024 from ipfs/run_tests_with_race_flag2
Run tests with race flag using checkflags script
2015-04-07 04:18:54 -07:00
Jeromy Johnson
447f1efb61 Merge pull request #1009 from ipfs/refactor/taskqueue
refactor task queue to have queues per peer
2015-04-06 22:22:32 -07:00
Juan Batiz-Benet
30562679e2 Merge pull request #1027 from ipfs/bench/just-cat
Add benchmark for just the time it takes to cat
2015-04-06 21:55:24 -07:00
Jeromy
8450a8d4d8 address comments from CR 2015-04-06 21:49:14 -07:00
Jeromy
76e879c9e0 fix some logic 2015-04-06 21:49:14 -07:00
Jeromy
738db201d9 some code cleanup and commenting 2015-04-06 21:49:14 -07:00
Jeromy
d765c14e8f refactor task queue to have queues per peer 2015-04-06 21:49:14 -07:00
Jeromy
7727309e89 disable archive test 2015-04-06 21:37:48 -07:00
Jeromy
8540f2da80 Add benchmark for just the time it takes to cat 2015-04-06 16:57:52 -07:00
Juan Batiz-Benet
9c3f65709e Merge pull request #1026 from lidel/master
fuse.md: Added troubleshooting instructions for #813
2015-04-06 14:35:28 -07:00
Marcin Rataj
6903e63140 fuse.md: Linux-related clarifications 2015-04-06 23:26:52 +02:00