Age | Commit message (Collapse) | Author |
|
All event handlers which call disconnect() MUST be registered using
`add_event_handler(..., threaded=True)` in order to prevent temporarily
deadlocking until a timeout occurs.
This is required because disconnect() waits for the main threads to
exit before returning, including the event processing thread. Since
handlers registered without `threaded=True` run in the event processing
thread, the disconnect() call will deadlock.
|
|
|
|
|
|
|
|
|
|
factory for recurring substanzas
|
|
Loading plugins from custom modules when passed as a string still works.
|
|
|
|
stanza is found.
|
|
|
|
|
|
|
|
If calling disconnect() from a non-threaded event handler, deadlock can
happen as disconnect() is waiting for threads to close, but the event
runner is blocked by a handler waiting for disconnect() to return.
It is best to specify threaded=True for event handlers which may call
disconnect().
|
|
|
|
|
|
leaves it blank.
|
|
|
|
|
|
|
|
|
|
have quit.
|
|
This WILL make the Python interpreter produce exceptions on shutdown.
|
|
Fixes issue #159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Revert "Check for Iq results based on both the sender's JID and the ID value."
This reverts commit 9ffde5ab3706ca24b03dbea93c67810687c4b6ba.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It had not been updated to use the new condition instead of the old
threading event.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The API registry generalizes the node handler system from the xep_0030
plugin so that other plugins can use it.
|