From 53482167813cbc1c7d382ac276eba013fe7bfb23 Mon Sep 17 00:00:00 2001 From: Brian White Date: Thu, 20 Mar 2014 09:57:16 -0400 Subject: [PATCH] Connection: don't disable keepalive timer on socket 'error' --- lib/Connection.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Connection.js b/lib/Connection.js index 57ccee8..8cae9c6 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -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);