summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
AgeCommit message (Collapse)Author
2013-07-01Blocking queue getAnton Ryzhov
2013-06-23Fix import errorLance Stout
2013-06-20Merge pull request #244 from anton-ryzhov/speedupLance Stout
Speedup main threads loops
2013-06-20Use timeout constants instead of magic numbers in scheduler and event loopAnton Ryzhov
Set default wait timeout as max() of previous values
2013-06-20Skip EINTR errors on raw socketsAnton Ryzhov
2013-04-23Carry scheduled kwargs all the wayLance Stout
2013-04-01Make XMLMasks match properly for components.Lance Stout
2013-03-28Event index documentation updatedAnton Ryzhov
2013-03-28XMLStream `proxy_error` event duplicated with `connection_failed`Anton Ryzhov
SASL `no_auth` event duplicated with `failed_auth`
2013-03-28Log events triggeringAnton Ryzhov
2013-02-22Don't use internally deprecated methodsAnton Ryzhov
2013-01-11Don't reset exponential backoff delay until a stream has been confirmed.Lance Stout
2012-12-14Fix some Python3 compatibility issues.Lance Stout
2012-10-10Remove unneeded ssl_support checks.Lance Stout
2012-10-02Unclobber connected event handler names.Lance Stout
Fixes issue #199
2012-09-24Simplify stringifying XMLLance Stout
2012-09-18Remove race condition when aborting while connecting/reconnecting.Lance Stout
2012-08-23Fix certificate expiration schedulerFlorian Fieber
timedelta.seconds does not store the total seconds of a time span. Internally, seconds is the next smaller unit to days, hence timedelta.seconds will never exceed (or reach) the number of seconds in a day (60*60*24=86400)
2012-08-14Help prevent race condition dealing with auto_reconnectLance Stout
2012-08-10Add abort() method to kill the session and stop all processing without ↵Lance Stout
properly closing the stream.
2012-08-10Fix tracking service name for DIGEST-MD5Lance Stout
2012-08-07Re-add connection delay after exhausting DNS records.Lance Stout
2012-08-04Ensure self._der_cert exists even if no certs are used.Lance Stout
2012-08-04Prevent auto_reconnect interference when disconnecting.Lance Stout
2012-07-30Add fields for setting client cert and key for SASL EXTERNAL.Lance Stout
2012-07-29Don't wait to retry connection if out of DNS records.Lance Stout
2012-07-24Add support for using CDATA for escaping.Lance Stout
CDATA escaping is disabled by default, but may be enabled by setting: self.use_cdata = True Closes issue #114
2012-07-24Standardize importing of queue class.Lance Stout
This will make it easier to enable gevent support.
2012-07-10Add method to remove a filter.Lance Stout
2012-07-05only log cert errors if not handled by userJay Farrimond
2012-06-20Fix setting IPv6 default configuration option.Lance Stout
2012-06-20Make the use of IPv6 configurable.Lance Stout
Set self.use_ipv6 = False before connecting. Fixes issue #175
2012-06-19PEP8 formatting updates.Lance Stout
2012-06-18Add initial support for xml:lang for streams and stanza plugins.Lance Stout
Remaining items are suitable default actions for language supporting interfaces.
2012-06-15Ensure that ssl_invalid_cert returns PEM formatted certifcate data.Lance Stout
2012-06-13Prevent duplicate certificate expiration timers.Lance Stout
2012-06-09Add extra check for the cert in the expiration handler.Lance Stout
2012-06-09Fix SSL handshake handling when not using legacy SSL.Lance Stout
Fixes issue #172
2012-06-09Ensure that all SSL cert error handling is overridable using event handlers.Lance Stout
Relevant events: ssl_invalid_cert ssl_invalid_chain ssl_expired_cert
2012-06-04Don't add cert expiration timer if no certs are being used.Lance Stout
2012-06-01Fix syntax error in line continuation.Lance Stout
2012-06-01Check that the session is still alive before sending data.Lance Stout
Fixes issue #168
2012-05-31Preemptively mark threads as exited if calling disconnect().Lance Stout
2012-05-27Handle not being able to connect using IPv6 if the host does not support it.Lance Stout
2012-05-22Add better certificate handling.Lance Stout
Certificate host names are now matched (using DNS, SRV, XMPPAddr, and Common Name), along with expiration check. Scheduled event to reset the stream once the server's cert expires. Handle invalid cert trust chains gracefully now.
2012-05-10Make the error message better regarding hanged threads.Lance Stout
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.
2012-04-29Add logging note about potential cause of disconnect() deadlock.Lance Stout
2012-04-29Set a timeout when waiting for threads.Lance Stout
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().
2012-04-24Ensure that SSL errors are handled in Py3.3Lance Stout
2012-04-22Track threads to ensure all have exited when disconnecting.Lance Stout