Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Allow tls.connect to start on server-side sockets and add tls.start as a simple wrapper for tls.connect #3653
I have found a piece of code floating on the internet to initiate a TLS function in the middle of a TCP connection, but the code in question has not functioned well. I decided to look into tls.js module whether it can do it all with some minor adjustment.
There was a previous pull request for this function joyent#848
Thus, I propose a very simple change to
I am willing to update documention if a green light is given to this improvements.