diff --git a/lib/tls.js b/lib/tls.js index 291c31cedcf..f5bb3337fdc 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -496,7 +496,10 @@ function SecurePair(credentials, isServer, requestCert, rejectUnauthorized) { this.encrypted = new EncryptedStream(this); process.nextTick(function() { - self.ssl.start(); + /* The Connection may be destroyed by an abort call */ + if (self.ssl) { + self.ssl.start(); + } self.cycle(); }); }