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

Please enable passing socket options #240

Open
c4milo opened this issue Jul 22, 2021 · 0 comments
Open

Please enable passing socket options #240

c4milo opened this issue Jul 22, 2021 · 0 comments

Comments

@c4milo
Copy link

c4milo commented Jul 22, 2021

It is a bit annoying to work with memberlist since it doesn't set SO_REUSEPORT and SO_REUSEADDR. I have to change my ports every time I take down my service.

$ ./build/stitchd -c cmd/stitchd/stitchd.example.cfg
2021-07-22T13:09:59.444-0400 [DEBUG] stitchd/main.go:79: starting service... : address=127.0.0.1:7778
2021/07/22 13:09:59 [DEBUG] memberlist: Got bind error: Failed to start UDP listener on "0.0.0.0" port 5112: listen udp 0.0.0.0:5112: bind: address already in use
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