mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Catch connection reset in ioucon
This commit is contained in:
parent
313226786f
commit
e183e7da27
@ -550,6 +550,8 @@ def send_recv_loop(epoll, console, router, esc_char, stop_event):
|
|||||||
esc_state = True
|
esc_state = True
|
||||||
else:
|
else:
|
||||||
router.write(buf)
|
router.write(buf)
|
||||||
|
except ConnectionError as e:
|
||||||
|
pass
|
||||||
finally:
|
finally:
|
||||||
router.unregister(epoll)
|
router.unregister(epoll)
|
||||||
console.unregister(epoll)
|
console.unregister(epoll)
|
||||||
|
Loading…
Reference in New Issue
Block a user