From 754327b00a6c9b742f439078283ac653dddccbc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Tue, 3 Feb 2015 01:39:25 +0000 Subject: [PATCH] Fixed bug #154 : PROXYSQL STOP and RESTART do not graceful close sockets --- lib/Standard_ProxySQL_Admin.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Standard_ProxySQL_Admin.cpp b/lib/Standard_ProxySQL_Admin.cpp index efacf3e32..b5d6aa4ad 100644 --- a/lib/Standard_ProxySQL_Admin.cpp +++ b/lib/Standard_ProxySQL_Admin.cpp @@ -1282,6 +1282,12 @@ __end_while_pool: } //if (__sync_add_and_fetch(shutdown,0)==0) __sync_add_and_fetch(shutdown,1); + for (i=0; i