Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#411 Pick an available port on "listen EADDRINUSE" or "listen EACCES" #445

Merged
merged 3 commits into from Nov 9, 2015

Conversation

@yciabaud
Copy link
Contributor

yciabaud commented Sep 27, 2015

Let the OS choose a port when the default or given one is used or unauthorized.

Fixes: #411

@yciabaud yciabaud changed the title #411 Pick an available port on "listen EADDRINUSE" or"listen EACCES" #411 Pick an available port on "listen EADDRINUSE" or "listen EACCES" Sep 27, 2015
@yciabaud yciabaud closed this Oct 1, 2015
@yciabaud

This comment has been minimized.

Copy link
Contributor Author

yciabaud commented Oct 1, 2015

Sorry I believe I misunderstood PR process...

@yciabaud yciabaud reopened this Oct 1, 2015
@josephfrazier

This comment has been minimized.

Copy link
Member

josephfrazier commented Nov 9, 2015

This looks good to me, but I wanted to make sure it could be tested automatically. I've added a (failing) test on the test-issue411 branch. Could you rebase your changes on top of that branch?

Yoann Ciabaud added 2 commits Sep 27, 2015
@yciabaud yciabaud force-pushed the yciabaud:master branch from 752563b to 6e4c7ff Nov 9, 2015
@yciabaud

This comment has been minimized.

Copy link
Contributor Author

yciabaud commented Nov 9, 2015

Thank you @joseph-onsip, I rebased my commits on your branch and the test looks good.

josephfrazier added a commit that referenced this pull request Nov 9, 2015
Pick an available port on "listen EADDRINUSE" or "listen EACCES"
@josephfrazier josephfrazier merged commit 8f7c928 into webtorrent:master Nov 9, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@josephfrazier

This comment has been minimized.

Copy link
Member

josephfrazier commented Nov 9, 2015

Looks great, thanks again!

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.