Stages & jobs

  1. Default Stage

  2. Deploy

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
4 minutes
Labels
None
Revision
e5bbd19ef11e4111d8927f44be5061e765975962
Total tests
583
Successful since
#150 ()

Tests

Code commits

Author Commit Message Commit date
Georg Lukas <georg@op-co.de> Georg Lukas <georg@op-co.de> e5bbd19ef11e4111d8927f44be5061e765975962 StanzaDroppedListener for XEP-0198 resumption failures
If a stream resume fails, smack will re-send all queued stanzas after a
reconnect. However, it does not make sense to re-send them:

* IQs / IQ responses have probably timed out
* MUC messages and PMs will be rejected as you haven't rejoined yet
* regular messages should be amended with a <delay> element

This patch adds a StanzaDroppedListener interface to the
XMPPTCPConnection. If at least one StanzaDroppedListener is provided,
all queued messages will be drained into the StanzaDroppedListener(s).
Otherwise, the original behavior of attempting to transmit them will be
followed.

Discussion: https://discourse.igniterealtime.org/t/xep-0198-resume-failure-reconnect-resending-of-muc-messages/83510/3

Signed-off-by: Georg Lukas <georg@op-co.de>
Florian Schmaus <flo@geekplace.eu> Florian Schmaus <flo@geekplace.eu> c4289b2c1819bd7b62dca9ed7743410b19665296 Add AbstractXMPPConnection.initState()
and init/reset the sychronization points there.

This method is called right at the beginning of connect() and at the
end of shutdown().
Florian Schmaus <flo@geekplace.eu> Florian Schmaus <flo@geekplace.eu> 7518bf9a25a8c8ac7e25fa5daff9d50ab4801bd7 Add descriptive text to StanzaError.toString()
Florian Schmaus <flo@geekplace.eu> Florian Schmaus <flo@geekplace.eu> 569f7417a8e2bc59462f0112334ae1cddab73dde Add AuthenticatedConnectionInitiallyEstablished timestamp
Florian Schmaus <flo@geekplace.eu> Florian Schmaus <flo@geekplace.eu> 5da6dea138cf57a96e6bd4d9298fdb497be5b64a Throw exception to reduce call sites of notifyConnectionError()
in XMPPTCPConnection.

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeSMACK-855Could not obtain issue details from Jira
Unknown Issue TypeSMACK-859Could not obtain issue details from Jira
Unknown Issue TypeXEP-0198Could not obtain issue details from Jira