mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Fixes SecureCRT issue when disconnecting from an IOU device on Windows.
This commit is contained in:
parent
20acca64b5
commit
88b9d946da
@ -224,6 +224,8 @@ class TelnetServer(Console):
|
|||||||
buf = self._read_cur(bufsize, socket.MSG_DONTWAIT)
|
buf = self._read_cur(bufsize, socket.MSG_DONTWAIT)
|
||||||
except BlockingIOError:
|
except BlockingIOError:
|
||||||
return None
|
return None
|
||||||
|
except ConnectionResetError:
|
||||||
|
buf = b''
|
||||||
if not buf:
|
if not buf:
|
||||||
self._disconnect(fileno)
|
self._disconnect(fileno)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user