Catch connection reset in ioucon

pull/584/head
Julien Duponchelle 8 years ago
parent 313226786f
commit e183e7da27
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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

Loading…
Cancel
Save