[OpenSIPS-Devel] SF.net SVN: opensips:[7800] trunk/modules/presence

Ovidiu Sas osas at voipembedded.com
Tue Mar 15 20:40:20 CET 2011


Expired presentity records are no longer deleted from the db.
If there are expired presentity records in the db, during init, those
records are retrieved from the db but not inserted into the phtable
(silently discarded by pres_htable_restore() ).
Later on, during the timer check, the expired records are searched
into the phtable (but the records are not there) and as a result, not
deleted.


On Mon, Mar 14, 2011 at 8:40 AM, Anca Vamanu <anca at opensips.org> wrote:
> Revision: 7800
>          http://opensips.svn.sourceforge.net/opensips/?rev=7800&view=rev
> Author:   anca_vamanu
> Date:     2011-03-14 12:40:28 +0000 (Mon, 14 Mar 2011)
>
> Log Message:
> -----------
> - performance improvements in presence module
>        - use the info stored in memory to check if a Publish entry exists
>        - eliminate unnecessary memory allocations
>
> Modified Paths:
> --------------
>    trunk/modules/presence/hash.c
>    trunk/modules/presence/hash.h
>    trunk/modules/presence/notify.c
>    trunk/modules/presence/notify.h
>    trunk/modules/presence/presentity.c
>    trunk/modules/presence/presentity.h
>    trunk/modules/presence/publish.c
>    trunk/modules/presence/subscribe.c
>
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list