summaryrefslogtreecommitdiff
path: root/tests/test_stanza_error.py
diff options
context:
space:
mode:
authorGeorg Lukas <georg@op-co.de>2020-03-28 21:18:13 +0100
committerGeorg Lukas <georg@op-co.de>2020-03-28 21:49:18 +0100
commit85c9967b9ce55fd6ea1e2aa59cf065710568661f (patch)
treea6cbf05ddfca98324cefd7963812d8a63227583d /tests/test_stanza_error.py
parentdeb6d4f1768600866390133ea083f912ae75642b (diff)
downloadslixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.tar.gz
slixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.tar.bz2
slixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.tar.xz
slixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.zip
XEP-0198: fix race conditions on enable/resume
This code splits out the `enabled` property into `enabled_in` and `enabled_out` to reflect that client and server enable 0198 asynchronously. This also moves the actual enabling code into the stanza processing logic, because apparently, `enable.send()` was just added into the end of the send queue, but `enable` got enabled immediately, so that poezio requested ACKs for whatever happened to be in the queue before. Async is hard, let's go get fishing.
Diffstat (limited to 'tests/test_stanza_error.py')
0 files changed, 0 insertions, 0 deletions