From e1199fa335e0cdbe11c8d2d7480409ce741d4406 Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Thu, 22 Mar 2012 11:50:58 +0900 Subject: [PATCH] tls: fix CryptoStream.setKeepAlive() --- lib/tls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tls.js b/lib/tls.js index f8122c7f519..d194d8b8bc4 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -177,7 +177,7 @@ CryptoStream.prototype.setNoDelay = function(noDelay) { CryptoStream.prototype.setKeepAlive = function(enable, initialDelay) { - if (this.socket) this.socket.setNoDelay(enable, initialDelay); + if (this.socket) this.socket.setKeepAlive(enable, initialDelay); };