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

Creating tcp socket without using go-connections. #2395

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Creating tcp socket without using go-connections. #2395

merged 1 commit into from
Oct 8, 2021

Conversation

jmacelroy
Copy link
Contributor

As of go 1.17 it is enforced that there is an overlap in NextProtos for ALPN to succeed in the TLS handshake. The sockets lib used was overriding the NextProtos with the proper config in place of one that would not overlap between the grpc client/server.

I opened an issue for the dependency docker/go-connections#95 or the dependency can be dropped for the code in this request.

I manually tested with and without TLS. If you want to go with this approach and there's a place to add a test for this then let me know.

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.

3 participants