From 79c8ad758e75309910becef5a23e28547dafa2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sat, 6 Dec 2014 02:20:37 +0000 Subject: [PATCH] Fix issue #24 --- lib/Standard_ProxySQL_Admin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Standard_ProxySQL_Admin.cpp b/lib/Standard_ProxySQL_Admin.cpp index 3265ba0b5..aaadf311a 100644 --- a/lib/Standard_ProxySQL_Admin.cpp +++ b/lib/Standard_ProxySQL_Admin.cpp @@ -233,6 +233,7 @@ void *child_mysql(void *arg) { } myds->revents=fds[0].revents; myds->read_from_net(); + if (sess->net_failure) goto __exit_child_mysql; myds->read_pkts(); sess->to_process=1; int rc=sess->handler();