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
@ -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 New Issue
Block a user