DescriptionI am working on a Djabberd plugin to support stream compression
(http://www.xmpp.org/extensions/xep-0138.html).
This requires handling a new type of stanza <compress ...>
So, this patch introduces the hook "HandleStanza" which is called whenever the server receives a stanza that is not "iq", "presence", "message" or "starttls".
Something in the hook chain must call the 'accept' callback to signify the class to use for the stanza downbless, otherwise.. we continue on to the existing behavior which is to return a stream error.
-----
patch set 3 committed in http://code.sixapart.com/trac/djabberd/changeset/822
Patch Set 1 #Patch Set 2 : fix to issues brad raised about patch set 1. #Patch Set 3 : Code review tool couldn't parse my last patch, trying again #
MessagesTotal messages: 3
|