<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Peter,<br>
    <br>
    can you fetch the latest git of branch 3.1 and try again the
    scenario? I broke the update_rlsubs() in two functions, so that
    deletion from hash table can be done later, after sending the notify
    requests.<br>
    <br>
    Let me know if it work now for you.<br>
    <br>
    Thanks,<br>
    Daniel<br>
    <br>
    On 3/30/11 5:24 PM, Peter Dunkley wrote:
    <blockquote cite="mid:1301498690.2917.19.camel@pd-laptop-linux"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="GENERATOR" content="GtkHTML/3.32.2">
      Hello,<br>
      <br>
      On Wed, 2011-03-30 at 16:49 +0200, Daniel-Constantin Mierla wrote:<br>
      <blockquote type="CITE"> Hello,<br>
        <br>
        On 3/29/11 4:10 PM, Peter Dunkley wrote: <br>
        <blockquote type="CITE"> Hello,<br>
          <br>
          I think I may have found a bug in the RLS module.<br>
          <br>
          Take two subscribers (alice and bob) who have each other in
          their contact lists.  Log them in (so REGISTER,
          SUBSCRIBE(presence.winfo), SUBSCRIBE(presence), PUBLISH, and
          so on).  Log one (bob) out.  bob's status remains online in
          alice's client.  Restart alice's client (logging her out and
          in again).  bob's status is still shown as online.<br>
          <br>
          Has anyone encountered this before?<br>
        </blockquote>
        to understand properly, bob's presence document is deleted when
        he logged out, but alice still sees bob online after her client
        is logged out and then logged in?<br>
        <br>
      </blockquote>
      When bob logs out alice still sees him as online.  This happens
      every time.<br>
      <br>
      If alice then logs out and logs back in immediately she sees bob
      as still online.<br>
      <br>
      If alice logs out, waits a while, and then logs back in she sees
      bob as offline.<br>
      <br>
      I think:<br>
      - The issue I'm encountering stops alice getting the correct
      NOTIFY when bob goes offline and (possibly) stops the database
      being correctly updated.<br>
      - The database does get "fixed" eventually as presence states
      time-out.<br>
      <br>
      Thanks,<br>
      <br>
      Peter<br>
      <br>
      <table cellpadding="0" cellspacing="0" width="100%">
        <tbody>
          <tr>
            <td>
              <pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>