Reset the DNS answers after a connection is made succesfully
This commit is contained in:
parent
c17fc3a869
commit
1100ff1feb
@ -348,6 +348,7 @@ class XMLStream(asyncio.BaseProtocol):
|
||||
self.socket = self.transport.get_extra_info("socket")
|
||||
self.init_parser()
|
||||
self.send_raw(self.stream_header)
|
||||
self.dns_answers = None
|
||||
|
||||
def data_received(self, data):
|
||||
"""Called when incoming data is received on the socket.
|
||||
|
Loading…
Reference in New Issue
Block a user