From e183e7da27765a74af80b5b98fe716b23c1a31af Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 13 Jun 2016 16:28:26 +0200 Subject: [PATCH] Catch connection reset in ioucon --- gns3server/modules/iou/ioucon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gns3server/modules/iou/ioucon.py b/gns3server/modules/iou/ioucon.py index 7aeb0287..a0785d7c 100644 --- a/gns3server/modules/iou/ioucon.py +++ b/gns3server/modules/iou/ioucon.py @@ -550,6 +550,8 @@ def send_recv_loop(epoll, console, router, esc_char, stop_event): esc_state = True else: router.write(buf) + except ConnectionError as e: + pass finally: router.unregister(epoll) console.unregister(epoll)