From a774d9aef5f93370496ffb0145c1bd670c5fb396 Mon Sep 17 00:00:00 2001 From: Matt Ranney Date: Thu, 23 Sep 2010 12:26:25 -0700 Subject: [PATCH] Send QUIT instead of closing the connection with client.end(). --- example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.js b/example.js index 7f39b7c5c6..40c1746578 100644 --- a/example.js +++ b/example.js @@ -9,5 +9,5 @@ client.hkeys("hash key", function (err, replies) { replies.forEach(function (reply, i) { console.log(" " + i + ": " + reply); }); - client.end(); + client.quit(); });