Commit 3b01cc27 authored by Jeromy's avatar Jeromy

add utp to have feature parity with go-ipfs

parent 8e33c737
......@@ -90,7 +90,10 @@ func NewSwarm(ctx context.Context, listenAddrs []ma.Multiaddr,
ctx: ctx,
dialT: DialTimeout,
notifs: make(map[inet.Notifiee]ps.Notifiee),
transports: []transport.Transport{transport.NewTCPTransport()},
transports: []transport.Transport{
transport.NewTCPTransport(),
transport.NewUtpTransport(),
},
bwc: bwc,
fdRateLimit: make(chan struct{}, concurrentFdDials),
Filters: filter.NewFilters(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment