David Trejo
0a732b8c0e
readme: warn that code in callbacks to commands in a multi are not atomic
13 years ago
David Trejo
710a705be2
readme: highlight js examples
13 years ago
Jed Schmidt
192784905b
Removed reference to individual `args` argument
When the second argument of `send_command` is not an array, the following
error is thrown:
Error: send_command: second argument must be an array
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
David Trejo
f2e123c42d
package.json: add dtrejo as maintainer
13 years ago
TEHEK Firefox
02b62e56bd
Fix for [GH-165] - createClient to properly assign parser_module
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
David Trejo
3b645c893d
index.js: fix missing .EXEC alias
13 years ago
David Trejo
625d5134e2
readme: add more contributors
13 years ago
David Trejo
72476be3e1
package.json: add a few missing contributors
13 years ago
David Trejo
e7e5a07594
readme: add a few missing contributors to the list
13 years ago
Marcus Westin
69cf7dcd1b
git ignore node_modules
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
Marcus Westin
b1ccbd71f9
Fix package.json format
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
13 years ago
David Trejo
f4d5c95337
Merge pull request #206 from bluesmoon/patch-1
remove duplicate "take either"
13 years ago
Philip Tellis
4f172ce713
remove duplicate "take either"
13 years ago
Brian Noguchi
64a0e68927
Add fix for last test (re-establish pub_sub_mode = true)
13 years ago
Brian Noguchi
2afa0e5acc
Add failing test.
The test demonstrates failure for the following scenario. A single-subscription
client calls unsubscribe immediately followed by a subscribe. It will fail when
it tries to receive the next pmessage/message because the client will be in
false pub_sub_mode. Here is why it is false: First, the 2nd subscribe sets
pub_sub_mode to true during send_command. Next, the unsubscribe's
return_reply sets pub_sub_mode to false. The 2nd subscribe's return_reply does
not re-set pub_sub_mode back to true. So the result is a client with false
pub_sub_mode that fails upon receipt of the next message or pmessage.
13 years ago
Brian Noguchi
5a5af9a4f9
Add comma to package.json
13 years ago
Matt Ranney
a02e058df7
Merge pull request #183 from DTrejo/master
How to correctly auth to server; what error to look for if you're doing it wrong; emit Error objects not string
13 years ago
David Trejo
cd5db44f66
readme: how to correctly auth to server, what error looks like if done wrong
13 years ago
David Trejo
234ae6be9a
Emit Error objects not strings
13 years ago
David Trejo
5afa763c89
readme code formatting
13 years ago
Matt Ranney
c0e1ac8037
Merge pull request #167 from isaacs/patch-1
List hiredis as an optional dependency.
13 years ago
Isaac Z. Schlueter
29a416b7a5
List hiredis as an optional dependency.
This will cause npm to attempt to install hiredis when installing redis,
but if the hiredis installation fails, it won't cause the redis install
to abort.
The optionalDependencies feature was added pretty much explicitly
for the redis->hiredis use case. :)
13 years ago
TEHEK Firefox
1896d7ce1f
Fix for [GH-165] - createClient to properly assign parser_module
13 years ago
Matt Ranney
3a7c6388de
Fix for [GH-93] - restore subscriptions, monitor, db, and auth on reconnect.
Also fixes bug with re-selecting db when auth is required.
Still needs a test for pub/sub reconnect and monitor reconnect.
13 years ago
Matt Ranney
642df49924
Further document no_ready_check.
13 years ago
Matt Ranney
faca4a8dc9
Bounds checking on Array expansion magic.
13 years ago
Matt Ranney
b9734d13eb
Add socket_nodelay option to control Nagle. Fixes [GH-33]
13 years ago
Matt Ranney
bf806a0be3
Better util/sys fallback with try/catch instead of version magic.
13 years ago
Zachary Scott
c83c285213
remove double 'util' and 'Queue' from requires
ex: require('./lib/util').util;
13 years ago
Matt Ranney
336030a33d
Fix documentation for detect_buffers.
13 years ago
Matt Ranney
64ad9ede42
Add test for [GH-148] - detect_buffers option
13 years ago
Matt Ranney
461ed06fab
Doc update for [GH-148] fix.
13 years ago
Matt Ranney
edf46776a1
Merge remote-tracking branch 'dayananda/master'
Conflicts:
index.js
13 years ago
Matt Ranney
69092a3f26
[GH-67] - hgetall now returns null instead of {} on empty reply
13 years ago
Matt Ranney
e39e8421bc
Fix regression in reconnect logic.
Very much need automated tests for reconnection and queue logic.
13 years ago
Matt Ranney
5834f63dd3
Fix month in changelog.
13 years ago
Matt Ranney
ff9ac4bf34
Add eval example.
13 years ago
Matt Ranney
a4e8c748df
Changes for v0.7.0.
13 years ago
Matt Ranney
ed44b8f702
Bump version.
13 years ago
Matt Ranney
29c408cbf1
Update TODO comment for retry thresholds.
13 years ago
Matt Ranney
dfd4c51b79
Merge pull request #136 from bobrik/callback-fixes
added ability to pass undefined instead of callback
13 years ago
Matt Ranney
90aa21936c
Update TODO comment
13 years ago
Matt Ranney
8d0457f2c3
Add test for monitor command.
13 years ago
Matt Ranney
719c606b78
Fix test for optional subscribe callback.
13 years ago
Matt Ranney
6232d35993
Subscribe commands take optional callback. Fixes [GH-140].
13 years ago
Matt Ranney
6a44331acd
Fix this/self reference on db re-select.
13 years ago
Matt Ranney
dfcfaf3dc5
Fix style.
13 years ago
Matt Ranney
82cc930bc7
Merge pull request #142 from oxys/master
After a connection error, selected db, if it was set, is not restored
13 years ago
Matt Ranney
6e38f4d6e0
Merge pull request #146 from maks/master
added sort example
13 years ago
Matt Ranney
16c79f0d18
Merge pull request #139 from felixge/master
Fix: Hiredis parser traps pubsub event exceptions
13 years ago