diff options
author | Lance Stout <lancestout@gmail.com> | 2012-03-27 23:24:42 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-03-27 23:24:42 -0700 |
commit | 94923ae898b05a0b716dbb0e797e6a0f64f9b2e1 (patch) | |
tree | ee07ea3cda02f64decb22ea00561ada68f01408e /conn_tests/test_pubsubserver.py | |
parent | f1fde07eb9538fdce00ccf16cd34144feda69a58 (diff) | |
download | slixmpp-94923ae898b05a0b716dbb0e797e6a0f64f9b2e1.tar.gz slixmpp-94923ae898b05a0b716dbb0e797e6a0f64f9b2e1.tar.bz2 slixmpp-94923ae898b05a0b716dbb0e797e6a0f64f9b2e1.tar.xz slixmpp-94923ae898b05a0b716dbb0e797e6a0f64f9b2e1.zip |
Improve handling disconnections.
- Add option for disconnecting without sending </stream>:
self.disconnect(send_close=False)
- Optionally distinguish between session_end and disconnected based
on if </stream> was sent.
self.end_session_on_disconnect = False
Diffstat (limited to 'conn_tests/test_pubsubserver.py')
0 files changed, 0 insertions, 0 deletions