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

starting more than one listener in a binary can result in socket confusion on restart #1

Closed
fvbock opened this issue Apr 7, 2015 · 1 comment
Assignees

Comments

@fvbock
Copy link
Owner

fvbock commented Apr 7, 2015

when starting more than one listener (most likely through goroutines) the initialization order is not determined. on restart this can result in the wrong socket being assigned to a server.

solution: pass original initialization order (by address) to the child.

this only affects users that start more than one server in one binary.

@fvbock
Copy link
Owner Author

fvbock commented Apr 8, 2015

remaingin: x session kill on first restart tho...? server works fine.
need to test on other machines. does not happen in vm.

cant reproduce this on other machines nor vm. if anybody sees that pls help investigate.

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

No branches or pull requests

1 participant