Projects tigase _server server-core Issues #526
Iq stanzas has delay delivery (#526)
Behnam Hatami opened 9 years ago

when I request server to give me list of it's features by discovery extension,

I receive such below iq:

<iq
    xmlns="jabber:client" id="uxQt8-6" from="xxx" to="xxx" type="result">
    <query
        xmlns="http://jabber.org/protocol/disco#info">
        <identity name="Tigase ver. 7.1.0-SNAPSHOT-b3941/7dc3c84f (2015-07-11/18:51:55)" category="component" type="im"/>
        <identity name="Tigase ver. 7.1.0-SNAPSHOT-b3941/7dc3c84f (2015-07-11/18:51:55)" category="server" type="im"/>
        <feature var="http://jabber.org/protocol/commands"/>
        <feature var="urn:xmpp:carbons:2"/>
        <feature var="http://jabber.org/protocol/stats"/>
        <feature var="jabber:iq:auth"/>
        <feature var="vcard-temp"/>
        <feature var="http://jabber.org/protocol/amp"/>
        <feature var="msgoffline"/>
        <feature var="http://jabber.org/protocol/disco#info"/>
        <feature var="http://jabber.org/protocol/disco#items"/>
        <feature var="urn:xmpp:blocking"/>
        <feature var="urn:xmpp:ping"/>
        <feature var="urn:ietf:params:xml:ns:xmpp-sasl"/>
        <feature var="jabber:iq:roster"/>
        <feature var="jabber:iq:roster-dynamic"/>
        <feature var="jabber:iq:version"/>
        <feature var="urn:ietf:params:xml:ns:xmpp-bind"/>
        <feature var="http://jabber.org/protocol/commands"/>
        <feature var="jabber:iq:last"/>
        <feature var="urn:ietf:params:xml:ns:xmpp-session"/>
        <feature var="jabber:iq:private"/>
    </query>
    <delay
        xmlns="urn:xmpp:delay" stamp="2015-07-11T15:18:51.882Z" from="xxx"/>
    </iq>

which contains receipt, that makes problem in my smack clients.

Isn't it a bug in tigase server?

Is there any way to disable delay receipt for iq packets?

Andrzej Wójcik (Tigase) commented 9 years ago

I changed implementation of StreamManagement to make it 100% compatible with XEP-0203, as it was responsible for adding delay element to XMPP IQ stanza. Next snapshot build will contain this fix.

But please note, that even if we add delay element to IQ stanza then it still should be correctly processed by Smack, as according to XMPP specification - if XMPP client is not expecting some element (client do not support some extensions) then it should silently ignore it, but should still process this packet as it would not contain this element. I suggest to report this as an issue to authors of Smack library.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
3285
Version
tigase-server-7.1.0
Spent time
21h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#526
Please wait...
Page is in error, reload to recover