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();