summaryrefslogtreecommitdiff
path: root/examples/rpc_server_side.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-11-23 00:00:37 +0100
committermathieui <mathieui@mathieui.net>2017-11-23 00:00:37 +0100
commiteab8c265f42f1bb0f6f77b2dda7c8f249a56ee9e (patch)
treef26fe64829e3822a53076811a817a2100f520cc6 /examples/rpc_server_side.py
parent80b9cd43b12f4221fdb69562e6114f0d3d07acbb (diff)
downloadslixmpp-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 'examples/rpc_server_side.py')
0 files changed, 0 insertions, 0 deletions