<div dir="ltr">I can add support for the NIL reply to mod_hiredis in addition to a few other fixes I need to push upstream.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 7, 2016 at 12:53 PM, Aqs Younas <span dir="ltr">&lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings list, <div>I am testing mod_hiredis to store some values in cache. I see whenever I try to get a value against a key which does not exist. I see errors in logs</div><div><br></div><div><div>freeswitch@debian&gt; hiredis_raw default get key2</div><div>2016-12-07 10:19:09.033417 [INFO] hiredis_profile.c:86 hiredis: recycled from pool[localhost, 6379]</div><div>Unknown Command: hiredis_raw default get key2</div><div>2016-12-07 10:19:09.033417 [ERR] hiredis_profile.c:222 hiredis: response error[(null)][4]</div><div>2016-12-07 10:19:09.033417 [ERR] mod_hiredis.c:107 hiredis: profile[default] error executing [get key2] reason:[]</div></div><div><br></div><div>whereas in the case of Memcache, this thing is handled  well enough. </div><div><div>freeswitch@debian&gt; memcache get key2</div><div><br></div><div>-ERR NOT FOUND</div></div><div><br></div><div>I have two questions here, </div><div><br></div><div>1) Is it possible to make hiredis to throw errors more sufficiently? Like returning null instead of throwing these errors. <br></div><div>2) Is hgetall available in hiredis?</div><div><br></div><div>Best,</div><div>Aqs Younas</div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>