reconnect (if configured), instead of
disconnect on expat error
This commit is contained in:
parent
7afb58426a
commit
d316c6d8b4
|
@ -128,7 +128,7 @@ class Dispatcher(PlugIn):
|
||||||
self.Stream.Parse(data)
|
self.Stream.Parse(data)
|
||||||
except ExpatError:
|
except ExpatError:
|
||||||
sys.exc_clear()
|
sys.exc_clear()
|
||||||
self._owner.Connection.disconnect()
|
self._owner.Connection.pollend()
|
||||||
return 0
|
return 0
|
||||||
if len(self._pendingExceptions) > 0:
|
if len(self._pendingExceptions) > 0:
|
||||||
_pendingException = self._pendingExceptions.pop()
|
_pendingException = self._pendingExceptions.pop()
|
||||||
|
|
Loading…
Reference in New Issue