Skip to content

Conversation

@yciabaud
Copy link
Contributor

I have introduced a bug in 7.4.0 because params.ip is used to filter peers in Swarm._getPeers. To fix this, I propose the addition of params.type in the peer data to filter against this.

What do you think?

yciabaud added a commit that referenced this pull request Mar 14, 2016
Bugfix: Do not use params.ip to filter Websocket peers
@yciabaud yciabaud merged commit 5588419 into webtorrent:master Mar 14, 2016
@yciabaud yciabaud deleted the fix-peertype branch March 14, 2016 00:24
@yciabaud
Copy link
Contributor Author

I am merging this since this bug can be painful for users

@feross
Copy link
Member

feross commented Mar 15, 2016

Thanks for the PR! My hand was injured, so I was taking it easy for a few days. Thanks for figuring this out!

@feross
Copy link
Member

feross commented Mar 15, 2016

Released as 7.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants