fix Infinite recursion inner 2005 (#3498)

This commit is contained in:
ylinzhu
2022-11-29 13:21:08 +08:00
committed by lin
parent cfcd3e8dc5
commit a10a84c62f
@@ -100,6 +100,7 @@ public class KillConnectionHandler implements ResponseHandler {
@Override
public void connectionClose(AbstractService service, String reason) {
AlertUtil.alertSelf(AlarmCode.KILL_BACKEND_CONN_FAIL, Alert.AlertLevel.NOTICE, "get killer connection " + service.toString() + " failed: connectionClosed", null);
toKilled.getBackendService().setResponseHandler(null);
toKilled.close("exception:" + reason);
}
}