1
0
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:
Julien Duponchelle 2016-06-13 16:28:26 +02:00
parent 313226786f
commit e183e7da27
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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)