[sr-dev] [kamailio/kamailio] ndb_redis: redis_cmd() doesn't return error with a faulty command (#2300)

Daniel-Constantin Mierla notifications at github.com
Tue Apr 28 09:51:01 CEST 2020


First I was not sure that you report the redis_cmd() is not returning false (negative) in such case, or the `type` field has the wrong value.

Then we use the same hiredis function to get the response:

```
rpl->rplRedis = redisvCommand(rsrv->ctxRedis, cmd->s, ap );
```

Strange that gets different results on your system. Have you compiled the ndb_redis module where you did the test example, or is it from debian packages?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2300#issuecomment-620441630
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200428/876e27b7/attachment-0001.html>


More information about the sr-dev mailing list