Please sign in to comment.
crypto: clear error stack
Clear OpenSSL's error stack on return from Connection::HandleSSLError(). This stops stale errors from popping up later in the lifecycle of the SSL connection where they would cause spurious failures. This commit causes a 1-2% performance regression on `make bench-tls`. We'll address that in follow-up commits if possible but let's ensure correctness first. Fixes #4771. This is a back-port of commit c6e2db2 from the master branch. Conflicts: src/node_crypto.cc
- Loading branch information...