diff --git a/server/modules/protocol/mysql_client.c b/server/modules/protocol/mysql_client.c index 60e66322c..d92b4fc91 100644 --- a/server/modules/protocol/mysql_client.c +++ b/server/modules/protocol/mysql_client.c @@ -1866,13 +1866,7 @@ gw_client_hangup_event(DCB *dcb) { goto retblock; } -#if defined(SS_DEBUG) - LOGIF(LE, (skygw_log_write_flush( - LOGFILE_ERROR, - "Client hangup error handling, session state %s, dcb state %s.", - session_state(session->state), - STRDCBSTATE(dcb->state)))); -#endif + dcb_close(dcb); retblock: