kubo/p2p
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
..
crypto Extend logging when peer handshake detects clashing/same keys 2015-04-07 13:20:46 +02:00
host bandwidth metering on streams 2015-03-31 19:58:08 -07:00
nat Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
net reuseport: env var to turn it off 2015-04-08 00:19:12 -07:00
peer Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
protocol bandwidth metering on streams 2015-03-31 19:58:08 -07:00
test bandwidth metering on streams 2015-03-31 19:58:08 -07:00