[Devel] SF.net SVN: openser: [2190] trunk/modules/presence

Juha Heinanen jh at tutpro.com
Fri May 11 12:32:53 CEST 2007


Anca Vamanu writes:

 > I knew there was an error. I  was working on it. I have just made the 
 > commit.
 > Please say if it works now.

anca,

yes, now when twinkle unsubscribes, its row disappears from
active_watchers table and twinkle gets 200 ok to its unsubscribe.

one thing that started to worry me is what happens if someone starts to
send bogus in-dialog subscribe once per second that differ, say, on
r-uri user field.

how can i prevent openser happily adding each of them as a new watcher
and finally running out of resources?  should presence module simply
refuse an in-dialog subscribe if it doesn't match any existing active
watcher or is it already doing so after your latest fix?

i'll cc this to the list because of general nature of the issue.

-- juha



More information about the Devel mailing list