Browse Source

Merge pull request #121 from libp2p/fix/mdns-race

update mdns to version with fixed race condition
pull/125/head
Jeromy Johnson 8 years ago
committed by GitHub
parent
commit
87b0e20041
  1. 2
      p2p/discovery/mdns.go
  2. 5
      package.json

2
p2p/discovery/mdns.go

@ -10,13 +10,13 @@ import (
"sync" "sync"
"time" "time"
"github.com/cryptix/mdns"
"github.com/ipfs/go-libp2p-peer" "github.com/ipfs/go-libp2p-peer"
pstore "github.com/ipfs/go-libp2p-peerstore" pstore "github.com/ipfs/go-libp2p-peerstore"
logging "github.com/ipfs/go-log" logging "github.com/ipfs/go-log"
ma "github.com/jbenet/go-multiaddr" ma "github.com/jbenet/go-multiaddr"
manet "github.com/jbenet/go-multiaddr-net" manet "github.com/jbenet/go-multiaddr-net"
"github.com/libp2p/go-libp2p/p2p/host" "github.com/libp2p/go-libp2p/p2p/host"
"github.com/whyrusleeping/mdns"
) )
var log = logging.Logger("mdns") var log = logging.Logger("mdns")

5
package.json

@ -14,9 +14,9 @@
"version": "0.0.0" "version": "0.0.0"
}, },
{ {
"hash": "QmSscYPCcE1H3UQr2tnsJ2a9dK9LsHTBGgP71VW6fz67e5", "hash": "QmZ6K4wx6uDZLPEjcDbHErMV1qGjSbcNrck3PqYSRhkrAN",
"name": "mdns", "name": "mdns",
"version": "0.0.0" "version": "0.1.0"
}, },
{ {
"hash": "QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL", "hash": "QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL",
@ -202,4 +202,3 @@
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "3.5.4" "version": "3.5.4"
} }

Loading…
Cancel
Save