diff options
author | mathieui <mathieui@mathieui.net> | 2017-11-23 00:00:37 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-11-23 00:00:37 +0100 |
commit | eab8c265f42f1bb0f6f77b2dda7c8f249a56ee9e (patch) | |
tree | f26fe64829e3822a53076811a817a2100f520cc6 /sleekxmpp/plugins/xep_0077/register.py | |
parent | 80b9cd43b12f4221fdb69562e6114f0d3d07acbb (diff) | |
download | slixmpp-eab8c265f42f1bb0f6f77b2dda7c8f249a56ee9e.tar.gz slixmpp-eab8c265f42f1bb0f6f77b2dda7c8f249a56ee9e.tar.bz2 slixmpp-eab8c265f42f1bb0f6f77b2dda7c8f249a56ee9e.tar.xz slixmpp-eab8c265f42f1bb0f6f77b2dda7c8f249a56ee9e.zip |
Record the current connection attempt in a future and allow cancellation
It does not make sense to have competing connection attempts, as the
XMLStream class is not designed for this. On slow and unpredictable
networks, it means we could have two c2s connections opened, leading to
mayhem.
Diffstat (limited to 'sleekxmpp/plugins/xep_0077/register.py')
0 files changed, 0 insertions, 0 deletions