#113 Expired contact entries are never discarded

closed-fixed
nobody
None
7
2011-01-25
2010-12-27
Mikhail Zabaluev
No

As reported in:

https://bugs.maemo.org/show_bug.cgi?id=8615
https://bugs.freedesktop.org/show_bug.cgi?id=32615

When two sofia-sip stacks meet each other, one as the UA and the other as a proxy, they happily accumulate outdated Contact headers without end.

Discussion

    • priority: 5 --> 7
     
  • Marking down a suspicious place where accumulation of headers may occur:

    nua/nua_stack.c, line 629: nua_stack_authenticate(nua, nh, event, tags);

    The client request can be restarted with event tags added directly to cr_msg in the client request structure. This is probably not the case where the proxy sends us contact headers, though.

     
  • Could be simple, though, in outbound_register_response:

    ob->ob_rcontact = sip_contact_dup(ob->ob_home, request->sip_contact);

    This is a copy of all contact headers present in the request. It then goes on to populate any REGISTER request in the same dialog usage.

     
  • Pekka Pessi
    Pekka Pessi
    2011-01-10

    • status: open --> open-fixed
     
  • Pekka Pessi
    Pekka Pessi
    2011-01-10

    Proposed fix merged to git.

     
    • status: open-fixed --> pending-fixed
     
    • status: pending-fixed --> closed-fixed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).