Skip to content

Commit

Permalink
Merge pull request #586 from solomon23/tls-error
Browse files Browse the repository at this point in the history
tls socket missing error listener
  • Loading branch information
brianc committed May 8, 2014
2 parents 220c5fd + 48b5537 commit 728b7c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ Connection.prototype.connect = function(port, host) {
});
self.attachListeners(self.stream);
self.emit('sslconnect');

self.stream.on('error', function(error){
self.emit('error', error);
});
});
};

Expand Down

0 comments on commit 728b7c9

Please sign in to comment.