Add support for XEP-0198 Stream Management

Description

Support has been added by switching to newer Smack library version, which supports SM. But in Spark this feature is explicitly disabled as reconnection logic must be adjusted. See SPARK-2140.

Environment

None

Activity

Show:

Guus der Kinderen August 19, 2020 at 7:30 AM

Support for Stream Management was disabled in order to get reconnection logic in order.

wroot September 26, 2019 at 7:42 PM

wroot September 26, 2019 at 7:36 PM
Edited

It works, although there seems to be some bug with SM in Openfire. Will open a ticket for that. Honestly, so far it seems that SM introduces more problems than solving anything

Guus der Kinderen September 26, 2019 at 9:27 AM

If it works, it works.

Have you tested with Spark, pulling out an ethernet cable and re-attaching it, to see if the session gets established again correctly?

wroot September 25, 2019 at 7:34 PM

When i check session details in Admin Console for a client running Spark 2.9.0 (current code) it shows Enabled (with resume) for Stream Management. 2.8.3 shows Disabled. So, i guess Spark already supports SM (after bringing it up to the current Smack version). what do you think?

 

Fixed

Details

Priority

Assignee

Reporter

Affects versions

Components

Created August 25, 2016 at 4:29 PM
Updated August 19, 2020 at 7:52 AM
Resolved September 26, 2019 at 7:36 PM