xmlstream: keep value of "end_session_on_disconnect"
That value should be set statically. Worst case is we fail to resume the session.
This commit is contained in:
parent
fc7d7b4eb7
commit
3f739e513b
1 changed files with 0 additions and 1 deletions
|
@ -433,7 +433,6 @@ class XMLStream(asyncio.BaseProtocol):
|
|||
if self.xml_depth == 0:
|
||||
# The stream's root element has closed,
|
||||
# terminating the stream.
|
||||
self.end_session_on_disconnect = True
|
||||
log.debug("End of stream received")
|
||||
self.disconnect_reason = "End of stream"
|
||||
self.abort()
|
||||
|
|
Loading…
Reference in a new issue