Closed maiha closed 6 years ago
Redis returns nil in two formats as written in https://redis.io/topics/protocol .
nil
"$-1\r\n"
"*-1\r\n"
In current master, string_or_nil_command accepts only the former pattern. And it will occur errors like #68 when the server returns nil in the latter pattern . This PR accepts both patterns.
string_or_nil_command
Best regards,
Thanks!
Redis returns
nil
in two formats as written in https://redis.io/topics/protocol ."$-1\r\n"
)"*-1\r\n"
)In current master,
string_or_nil_command
accepts only the former pattern. And it will occur errors like #68 when the server returnsnil
in the latter pattern . This PR accepts both patterns.Best regards,