]> granicus.if.org Git - ejabberd/commit
XEP-0198: Fix session timeout corner case
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sat, 6 Feb 2016 21:28:55 +0000 (22:28 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sat, 6 Feb 2016 21:28:55 +0000 (22:28 +0100)
commita31f59ea31d28e1b00c05e1d6147c76e5b566cf5
treeb2582398075e6d40c38d07d4ed2fd4f04f72deda
parent7435ee464f3918be41f60901bbfdb87a9cc9b249
XEP-0198: Fix session timeout corner case

If the "resend_on_timeout" option is set to 'if_offline' and a pending
stream management session is terminated because a new session is opened
by the same resource (while no other resource is online), resend
unacknowledged messages rather than bouncing error messages.
src/ejabberd_c2s.erl