]> granicus.if.org Git - ejabberd/commit
ejabberd_c2s: Let stop/1 close XEP-0198 sessions
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sat, 17 Oct 2015 21:15:31 +0000 (23:15 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sat, 17 Oct 2015 21:15:31 +0000 (23:15 +0200)
commit5e467b96a1a19b72bf0d851926f2598d643e5a33
treebb08338556e8ca2da1d34334de869086b24e7cab
parent53bd0ee818c154cd0fb3da531f1275ac41b23b03
ejabberd_c2s: Let stop/1 close XEP-0198 sessions

The stop/1 function now terminates stream management sessions
immediately, just as it does for other sessions.  The new
ejabberd_c2s:close/1 function can be used to close the socket without
terminating the stream management session, like stop/1 did before.
src/ejabberd_c2s.erl
src/mod_ping.erl