From 634b7cbfb959ca1bb645a32a041bfe18b2d396cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Tue, 8 Sep 2015 13:50:46 +0000 Subject: [PATCH] Bug fix connecting client --- lib/MySQL_Session.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index 720bd9bd9..ee98818f5 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -363,7 +363,9 @@ __get_pkts_from_client: handler___status_CONNECTING_CLIENT___STATE_SSL_INIT(&pkt); break; default: - assert(0); // FIXME: this should become close connection + proxy_error("Detected not valid state client state: %d\n", client_myds->DSS); + return -1; //close connection + break; } break;