Fixes SecureCRT issue when disconnecting from an IOU device on Windows.

pull/39/head^2
grossmj 10 years ago
parent 20acca64b5
commit 88b9d946da

@ -224,6 +224,8 @@ class TelnetServer(Console):
buf = self._read_cur(bufsize, socket.MSG_DONTWAIT)
except BlockingIOError:
return None
except ConnectionResetError:
buf = b''
if not buf:
self._disconnect(fileno)

Loading…
Cancel
Save