Connection: don't disable keepalive timer on socket 'error'

fork
Brian White 10 years ago
parent a4be10ce13
commit 5348216781

@ -131,7 +131,6 @@ Connection.prototype.connect = function() {
this._onError = function(err) {
clearTimeout(self._tmrConn);
clearTimeout(self._tmrAuth);
clearTimeout(self._tmrKeepalive);
self.debug && self.debug('[connection] Error: ' + err);
err.source = 'socket';
self.emit('error', err);

Loading…
Cancel
Save