Well replacing this :

if (dbmode != RLS_DB_ONLY)

By this :

if(get_to(msg)->tag_value.s==NULL || get_to(msg)->tag_value.len==0)

Which is a detection of initial transaction if I'am understanding well (no to tag). There is such a detection upper in the code (line 610-611) :

    if(get_to(msg)->tag_value.s==NULL || get_to(msg)->tag_value.len==0)
    { /* initial Subscribe */

But I was afraid that the test dbmode != RLS_DB_ONLY wasn't here for nothing (Maybe performance reasons ?)

I ran my test 10 times and everything seems OK for now.


Reply to this email directly or view it on GitHub.