Skip to content Skip to sidebar Skip to footer

Use Of 'resumesession' Event For Node's Tls Module

Node's TLS module provides a resumeSession event for resuming an earlier session. Can someone show me a sample code as to how to initiate the steps on the client side?

Solution 1:

If I understand your question correctly, you are asking how to resume a TLS session on the client-side with tls.connect(options, [callback]). To make it short: You can't. You'd need to be able to send the session ID of the previous session. This is currently not implemented in Node's API.

To be a bit more sophisticated: You could.

Maybe you'd like to open an issue.

Post a Comment for "Use Of 'resumesession' Event For Node's Tls Module"