Fix bug #3139, "Mainwindow unresponsive due to a busy loop"
authorColin Leroy <colin@colino.net>
Mon, 21 Apr 2014 11:49:46 +0000 (13:49 +0200)
committerColin Leroy <colin@colino.net>
Mon, 21 Apr 2014 11:49:46 +0000 (13:49 +0200)
commite664b676602274aa7e7056444de88fa8f5684185
tree7f1438670fd6d572ce809dfee2cc26df0c19c16f
parentf38cf9f13e82e0c1012286573ad96511f2d868c1
Fix bug #3139, "Mainwindow unresponsive due to a busy loop"
In case of unexpected return from gnutls_record_recv(), set errno to
a fatal error.
src/common/session.c
src/common/socket.c