[sr-dev] DB_ONLY mode in presence module

Henning Westerholt henning.westerholt at 1und1.de
Wed Jul 20 13:14:21 CEST 2011


On Tuesday 19 July 2011, Paul Pankhurst wrote:
> I’ve been looking through the presence module and have some questions
> regarding the DB_ONLY mode of operation. 
> Specifically the feature seems to rely on data not being written to hash
> tables in certain areas of the code, as no checking is done to verify
> which db_mode is being used. 
> However there are places where the hash table is populated irrelevant of
> the db_mode, for example the init  code calls pres_htable_restore.
> Additionally update_presentity seems to also manipulate the hash tables
> indiscriminately. 
> Am I missing something here, or is this a bug?

Hi Paul,

i think a similar question is discussed at the moment in the user list thread:

"xcap server - http load–balancer: xcap authentication problem"

Maybe you can have a look.

Best regards,

Henning



More information about the sr-dev mailing list