debasishg / scala-redis-nb

Implementation of a non blocking Redis client in Scala using Akka IO
204 stars 38 forks source link

Fix Pair Option PartialDeserializer to support Nil #114

Closed blouerat closed 9 years ago

blouerat commented 9 years ago

BRPOP and BLPOP used to fail when receiving nil. Error was: [akka://redis-client-patch/user/RedisClient] Response parsing failed: *-1\r\n The Iterator parser works as expected and returns an empty Iterator when receiving a bulk of size -1 but then the pairOptionPD was calling next on it hence the error.

debasishg commented 9 years ago

Thanks!