id

331

publisher

goffi@goffi.org/b29e10d7-cf4c-4606-a613-bfabcb430abf

title
introduce generic resuming in plugins and use it in plugin XEP-0198
author
Goffi
created
17/07/2019, 06:49
updated
17/07/2019, 06:49
labels
stream management hot resuming
type
feature request
status
queued
priority
normal
milestone
0.7
severity
normal
body

When resuming is not possible with stream management, a hot reconnection is done (stream is restarted but plugins are kept loaded).

For now, we manually handle critical plugins like MAM (XEP-0313) and MUC (XEP-0045), but it would be more generic, maintainable and clean to use specific method like prepareResume (called before the session is restarted) and resume (called after session is restarted) so plugins can handle themselves what must be done. The plugin XEP-0198 would call the methods if they exist on all loaded plugins.

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_sKtrbr8QrRYpYzPHXsgDaT

You are not logged. You need to log in to comment.