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

Victor Seva notifications at github.com
Tue Apr 28 09:29:46 CEST 2020


I will try to explain,

"HSET dd field" is missing the value parameter and it's a faulty command, it must fail.

`redis_cmd()` doesn't return <0 so there was no error 0_0 ( reply->type 3, INTEGER )
My simple code test fails as expected ( reply->type 6, ERROR )
 

-- 
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-620432384
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200428/eefe07f0/attachment.html>


More information about the sr-dev mailing list