mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-17 22:08:35 +00:00
parent
1123047404
commit
c2b78400f2
@ -127,6 +127,11 @@ class AsyncioTelnetServer:
|
||||
data = coro.result()
|
||||
if coro == network_read:
|
||||
network_read = asyncio.async(network_reader.read(READ_SIZE))
|
||||
|
||||
# Remote console is closed
|
||||
if len(data) == 0:
|
||||
raise ConnectionResetError()
|
||||
|
||||
if IAC in data:
|
||||
data = yield from self._IAC_parser(data, network_reader, network_writer)
|
||||
if self._writer:
|
||||
|
Loading…
Reference in New Issue
Block a user