added ability to pass undefined instead of callback
After a connection error, selected db, if it was set, is not restored
added sort example
Fix: Hiredis parser traps pubsub event exceptions
Also assign a client ID to each client because stream.fd isn't available in node 0.6.
The quit/pipeline bug has been fixed in Redis server for some time now.
… the number of ms specified
Fix bad reference to 'this'
…store selected db on connect
Re-initialize the reply parser for every new connection. If a connection is terminated, the parser could be left in a bad state. After the auto-reconnect magic kicks in, it tries to reuse the old parser, which will not work. This change is visible to client programs if you depend on client.reply_parser.name being set immediately. It will now only be set after a connection is established. Thanks to @jhurliman for reporting and @pietern for the fix suggestion.
…ing variable checks are not honoured." This reverts commit 263965a. Conflicts: index.js
Passing an Array as as the last argument should expand as users expect. The old behavior was to coerce the arguments into Strings, which did surprising things with Arrays.
…able checks are not honoured.