-
Notifications
You must be signed in to change notification settings - Fork 611
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
manager: remove hack for unix-socket listener #1541
Conversation
Current coverage is 53.73% (diff: 100%)@@ master #1541 diff @@
==========================================
Files 82 82
Lines 13430 13432 +2
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 7228 7218 -10
- Misses 5219 5227 +8
- Partials 983 987 +4
|
@@ -549,7 +536,7 @@ func (m *Manager) serveListener(ctx context.Context, errServe chan error, proto | |||
// we need to disallow double closes because UnixListener.Close | |||
// can delete unix-socket file of newer listener. grpc calls | |||
// Close twice indeed: in Serve and in Stop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed, thanks!
It was fixed in grpc Signed-off-by: Alexander Morozov <lk4d4math@gmail.com>
Good byte, dirty hacks. |
I am not sure if this idea will be popular, but could we instead wrap the listener with something that panics if I'm worried that this might regress in grpc in the future, and it will be hard to notice. Or we could keep the |
@aaronlehmann I've opened golang/go#17131 |
It was fixed in grpc