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

Fix bug in binding an in use port #117

Merged
merged 1 commit into from
May 19, 2023
Merged

Fix bug in binding an in use port #117

merged 1 commit into from
May 19, 2023

Conversation

mh32
Copy link
Contributor

@mh32 mh32 commented May 19, 2023

There was a bug where binding an already bound port would wipe the existing bind before returning an ADDR_IN_USE error. This change resolves the bug by erroring before we update the host's binds.

There was a bug where binding an already bound port would wipe the existing
before returning an ADDR_IN_USE error. This change resolves the bug by erroring
before we update the host's binds.
Copy link
Contributor

@mcches mcches left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@mcches mcches merged commit 1df956b into main May 19, 2023
3 checks passed
@mcches mcches deleted the bind_clobber_fix branch May 19, 2023 20:54
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.

None yet

2 participants