Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix usage of tls.TLSSocket #10

Merged
merged 1 commit into from
Jul 29, 2021
Merged

Fix usage of tls.TLSSocket #10

merged 1 commit into from
Jul 29, 2021

Conversation

corollari
Copy link

The constructor of tls.TLSSocket requires a net.Socket (see docs), which doesn't seem to be provided. This PR fixes this by changing the code to fit the node API.

Copy link
Member

@nkuba nkuba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it with tls connection, it worked!

@nkuba nkuba merged commit b302b04 into keep-network:master Jul 29, 2021
@nkuba
Copy link
Member

nkuba commented Jul 29, 2021

Thanks for your contribution @corollari! 🎉

This was referenced Mar 20, 2022
Closed
Closed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants