anacrolix / dht

dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise
Mozilla Public License 2.0
313 stars 66 forks source link

New release #28

Closed nenad closed 5 years ago

nenad commented 5 years ago

Since adding a new parameter in the s.config.ConnectionTracking.Wait breaks the backwards compatibility, I can no longer use anacrolix/torrent through with go mod.

I'm getting the following issue when I run go get -u

# github.com/anacrolix/dht
../../../../pkg/mod/github.com/anacrolix/dht@v1.0.1-0.20190118110415-9a2d88b4a294/server.go:623:44: not enough arguments in call to s.config.ConnectionTracking.Wait
    have (conntrack.Entry, string, number)
    want (context.Context, conntrack.Entry, string, conntrack.priority)

I think this can be fixed by simply creating a new Github release. Thanks.

anacrolix commented 5 years ago

Thanks for reporting this.

anacrolix commented 5 years ago

I've released several new versions to fix this. Let me know if you have any more issues.

nenad commented 5 years ago

Thanks, this fixed go get -u for me!