Opened 7 years ago

Last modified 4 days ago

#14252 new enhancement

Implement XEP-0198: Stream Management

Reported by: xnyhps Owned by: deryni
Milestone: 2.13.1 Component: XMPP
Version: 2.7.11 Keywords: xep 0198
Cc: noonien, 55134123123, andrey.arapov, xmpppls, holger, hobarrera, vext01, lilydjwg, marsjaninzmarsa, blipp

Description

It would be nice if libpurple had XEP-0198: Stream Management. Disconnects on an unstable internet connection can happen a lot, and this will speed up logging in again and make sure that messages sent in the mean time arrive correctly.

Attachments (1)

libpurple-xep-0198.diff (11.7 KB) - added by defanor 9 months ago.

Download all attachments as: .zip

Change History (19)

comment:1 Changed 7 years ago by xnyhps

(Meant to assign this to myself, but I don't have permission for that)

comment:2 Changed 5 years ago by kmindi

Please implement

comment:3 Changed 5 years ago by 55134123123

Are there any updates regarding this issue? A couple of android clients will get this feature in the not so distant future and it would be really nice to have this for pidgin as well. Could someone comment on the status of this enhancement? I really think this is necessary so we don't risk losing any messages when communicating with mobile users.

Thanks for any update on this :)

comment:4 Changed 5 years ago by andrey.arapov

This is very important protocol extension, I'd be glad to see someone implement this.

comment:5 Changed 5 years ago by xmpppls

Could a developer please add a close milestone to this? Next release preferably or 3.0.0? This is extremely important and relevant for adoption of XMPP and Pidgin as users move from platforms like Skype to open tech. Message reliability would be extremely useful for Tor usage and unreliable wifi or 3G.

Android clients support this, we'd really appreciate it if Pidgin did too. Thank you.

comment:6 Changed 5 years ago by datallah

Assigning a milestone will not get this any closer to implementation. A good patch would though.

comment:7 Changed 5 years ago by devurandom

Any news or progress with this one?

comment:8 Changed 4 years ago by bird.dandruff

apart from encrypted audio/video-streams this is the feature I am missing most..

comment:9 Changed 4 years ago by vext01

Also registering interest in this feature.

comment:10 Changed 4 years ago by Robby

  • Summary changed from Implement XEP-0198 to Implement XEP-0198: Stream Management

comment:12 Changed 4 years ago by davidbm

Anybody working on this?

comment:13 Changed 3 years ago by marsjaninzmarsa

Related to: #11521

comment:14 Changed 9 months ago by defanor

Here is an initial implementation of XEP-0198's acknowledgements (that's what I wanted it for, not covering resumption), but not sure how to make it visible to a user (not counting debug messages), and whether it should be changed/adjusted further.

Edit: reuploaded, now with stanza queuing and resending after a reconnect. Without XEP-0203 delay elements though.

Edit 2: submitted a PR, apparently that's the preferred way to contribute. The diff here is already outdated a bit.

Last edited 9 months ago by defanor (previous) (diff)

Changed 9 months ago by defanor

comment:16 Changed 4 days ago by Robby

  • Milestone set to 2.13.1

Right you are! The pull request was merged to the 2.x.y branch on 26 May 2018: commit link

@defanor should be able to collect a bounty sometime then?

comment:17 Changed 4 days ago by defanor

XEP-0198 is not completely implemented yet (there's no resumption, just acknowledgements and message queuing/resending), and I'd like to waive it anyway. Perhaps the bounty can be used to motivate somebody to add the resumption next.

comment:18 Changed 4 days ago by Robby

Should this ticket be kept open then?

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!