- 12 Apr, 2015 3 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
corehttp: added support for HEAD requests
-
Juan Batiz-Benet authored
This commit adds HEAD support to the IPFS Gateway. Related: #840
-
- 08 Apr, 2015 3 commits
-
-
Juan Batiz-Benet authored
reuseport: env var to turn it off
-
Juan Batiz-Benet authored
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.
-
Juan Batiz-Benet authored
Fix various issues in the test makefiles
-
- 07 Apr, 2015 19 commits
-
-
Tor Arne Vestbø authored
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.
-
Tor Arne Vestbø authored
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.
-
Tor Arne Vestbø authored
If the file doesn't exist, make will conclude that the missing prerequisite should trigger a rebuild of the binaries.
-
Juan Batiz-Benet authored
Make bloom filters simpler
-
Kristoffer Ström authored
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.
-
Juan Batiz-Benet authored
Unify shutdown message format string
-
Tor Arne Vestbø authored
-
Juan Batiz-Benet authored
ipfs-completion.bash: add the missing get command
-
Michael Muré authored
-
Juan Batiz-Benet authored
Extend logging when peer handshake detects clashing/same keys
-
Tor Arne Vestbø authored
-
Juan Batiz-Benet authored
Run tests with race flag using checkflags script
-
Jeromy Johnson authored
refactor task queue to have queues per peer
-
Juan Batiz-Benet authored
Add benchmark for just the time it takes to cat
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
-
- 06 Apr, 2015 13 commits
-
-
Jeromy authored
-
Juan Batiz-Benet authored
fuse.md: Added troubleshooting instructions for #813
-
Marcin Rataj authored
-
Marcin Rataj authored
-
Christian Couder authored
The GOFLAGS variable makes it possible to run all sharness tests with go binaries built with some special flags. The "race" target makes it easy run the sharness tests with go binaries built with the -race flag. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
...and remove bin/* stuff from the .gitignore as /test/bin is already in the root .gitignore. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
This builds go binaries using the -race flag and then runs all the tests. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
This makes it possible to build binaries with different flags. The content of the GOFLAGS variable is stored in a IPFS-BUILD-OPTIONS file, so that if GOFLAGS changes a rebuild of the binaries with the new flags is forced. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
This script can be used in a Makefile to detect flag changes and to save the new flags in a file. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Juan Batiz-Benet authored
handle error from GetClosestPeers
-
Jeromy authored
-
Juan Batiz-Benet authored
Correct port in quick-start examples
-
theswitch authored
-
- 04 Apr, 2015 2 commits
-
-
Juan Batiz-Benet authored
Test sort cmp
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-