fix Infinite recursion inner 2005 (#3498)

fix
This commit is contained in:
ylinzhu
2022-11-29 13:21:08 +08:00
committed by lin
parent f3242987c6
commit 20949abef3

View File

@@ -98,6 +98,7 @@ public class KillConnectionHandler implements ResponseHandler {
@Override
public void connectionClose(BackendConnection conn, String reason) {
AlertUtil.alertSelf(AlarmCode.KILL_BACKEND_CONN_FAIL, Alert.AlertLevel.NOTICE, "get killer connection " + conn.toString() + " failed: connectionClosed", null);
toKilled.setResponseHandler(null);
toKilled.close("exception:" + reason);
}
}