The usage of a native 'go' command has been replaced with a make &
environment variable $GOCC. This enables building with multiple go
versions on a single machine as documented:
* https://golang.org/doc/install#extra_versions
This enables the usage of:
```bash
$ make install
$ # OR
$ GOCC=go1.12.3 make install
$ # OR
$ GOCC=go1.12.4 make install
```
And the build and test tools now pick up on this change
On branch go-version-check
Changes to be committed:
modified: Rules.mk
modified: bin/check_go_version
modified: bin/dist_get
modified: bin/maketarball.sh
modified: coverage/Rules.mk
modified: mk/golang.mk
modified: mk/tarball.mk
License: MIT
Signed-off-by: Chris Buesser <christopher.buesser@gmail.com>
We were canceling the context in `GarbageCollect` but some functions call `GC`
directly. Move the context cancelation down to where we actually _need_ it.
fixes#6279
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
tweak the daemon --help output to use escaped double quotes instead
of single quotes so the same command can be used on windows.
fixes: #2034
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
Otherwise, it seems that something is treating this as UTF8 and normalizing it?
fix half of #3124
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
* go-ipfs-files: fixes some bugs with WebFile.
* go-unixfs: update murmur3.
* go-libp2p-connmgr: update for peer protection feature.
* base58: reduce allocations from 3 to 2.
* golang.org/x/...: upstream updates.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
fixes#6247
Really, we need a global _resource_ manager service that can sum requests from
the datastore, libp2p, etc. for more file descriptors. However, we don't have
that.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
Unfortunately, I can't reproduce the bug locally and I'm not sure if my fix is
correct. But it shouldn't hurt.
might fix#6197
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
fixes#6247
Really, we need a global _resource_ manager service that can sum requests from
the datastore, libp2p, etc. for more file descriptors. However, we don't have
that.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
* secio: maybe fix an out of bounds read.
* swarm, dht: avoid wasting memory allocating/keeping large errors around.
* peerstore: reduce memory usage
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>