@cryptotaxi247 / kubo / commits / 4294a5fb1

explicitly enable the default transports

Otherwise, enabling the QUIC transport will disable the default ones fixes #5416 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Aug 31, 2018 at 14:53 UTC 4294a5fb11b497c156ccb353fd0d0b6a49f2eb3c
1 file changed +3
core/core.go
+3
@@ -249,6 +249,9 @@ func (n *IpfsNode) startOnlineServices(ctx context.Context, routingOption Routin
249 libp2pOpts = append(libp2pOpts, libp2p.EnableRelay(opts...))
250 }
251
252 + // explicitly enable the default transports
253 + libp2pOpts = append(libp2pOpts, libp2p.DefaultTransports)
254 +
255 if cfg.Experimental.QUIC {
256 libp2pOpts = append(libp2pOpts, libp2p.Transport(quic.NewTransport))
257 }