vseloved / cl-redis

Redis client for Common Lisp
Other
188 stars 38 forks source link

fixed read-bulk-reply in redis.lisp to work with 0-byte strings #10

Closed subtlepath closed 12 years ago

subtlepath commented 12 years ago

previously read-bulk-reply would skip 0-byte bulk replies, returning NIL instead of "" and leaving a CR and LF in the input buffer, causing the next expect to fail.

vseloved commented 12 years ago

Thanks! I'll add a test now.