-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Panic in transport mock #98
Comments
Fixed. Pull master. If OK, please close the issue. |
Wow, that was quick. Looks good to me. Many thanks! |
It looks like I have the same issue, using the default selector:
I run two go routines. One starts a HTTP service and another one starts a gRPC service so I can receive both HTTP and gRPC requests on the same server. They both use the same interfaces (broker and registry) but use different server and transport. |
A client call seems to panic when the transport mock is used.
The stack trace is
In rare cases the call is successful without a panic. There seem to be some kind of race condition. Some advice is very welcome.
The text was updated successfully, but these errors were encountered: