You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
When connecting to a node TLS server with a node TLS client, the server does not fire newSession event.
Forcing the client to use SSLv3 instead of default TLSv1 resolves the issue:
varopts={port: port,secureProtocol: 'SSLv3_method',session: session/* undefined for the first request */};varconn=tls.connect(opts,function(){/* ... */});
A side note: when connecting to node TLS server with openssl s_client --reconnect --connect, openssl v0.9.8x (OSX default) crashes on the second connection. Disabling TLSv1 removes the crash.
When connecting to a node TLS server with a node TLS client, the server does not fire newSession event.
Forcing the client to use SSLv3 instead of default TLSv1 resolves the issue:
The full code to reproduce the problem can be found here: https://gist.github.com/bajtos/6000596
A side note: when connecting to node TLS server with
openssl s_client --reconnect --connect, openssl v0.9.8x (OSX default) crashes on the second connection. Disabling TLSv1 removes the crash./cc @isaacs @indutny @bnoordhuis @piscisaureus