You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/03/25 06:11:04 UTC
[1/2] trafficserver git commit: Minor InkAPI.cc namespace cleanups.
Repository: trafficserver
Updated Branches:
refs/heads/master 797651e89 -> 1419f4901
Minor InkAPI.cc namespace cleanups.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8f10bd08
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8f10bd08
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8f10bd08
Branch: refs/heads/master
Commit: 8f10bd08f4fb996e9e07ed53dcea22e40685b8dc
Parents: 797651e
Author: James Peach <jp...@apache.org>
Authored: Thu Mar 24 21:23:56 2016 -0700
Committer: James Peach <jp...@apache.org>
Committed: Thu Mar 24 21:23:56 2016 -0700
----------------------------------------------------------------------
proxy/InkAPI.cc | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8f10bd08/proxy/InkAPI.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index d41c874..1b780bd 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -43,12 +43,10 @@
#include "P_HostDB.h"
#include "P_Cache.h"
#include "I_RecCore.h"
-#include "I_RecSignals.h"
#include "ProxyConfig.h"
#include "Plugin.h"
#include "LogObject.h"
#include "LogConfig.h"
-//#include "UserNameCache.h"
#include "PluginVC.h"
#include "api/ts/experimental.h"
#include "ICP.h"
@@ -86,13 +84,10 @@
static volatile int api_rsb_index = 0;
static RecRawStatBlock *api_rsb;
-// Library init functions needed for API.
-extern void ts_session_protocol_well_known_name_indices_init();
-
// Globals for the Sessions/Transaction index registry
static volatile int next_argv_index = 0;
-struct _STATE_ARG_TABLE {
+static struct _STATE_ARG_TABLE {
char *name;
size_t name_len;
char *description;
[2/2] trafficserver git commit: Remove unused LocalManager ticker.
Posted by jp...@apache.org.
Remove unused LocalManager ticker.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1419f490
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1419f490
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1419f490
Branch: refs/heads/master
Commit: 1419f4901ecf86210c597da8c831169b89739dfd
Parents: 8f10bd0
Author: James Peach <jp...@apache.org>
Authored: Thu Mar 24 22:08:23 2016 -0700
Committer: James Peach <jp...@apache.org>
Committed: Thu Mar 24 22:08:23 2016 -0700
----------------------------------------------------------------------
mgmt/LocalManager.cc | 2 --
mgmt/LocalManager.h | 12 ------------
2 files changed, 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1419f490/mgmt/LocalManager.cc
----------------------------------------------------------------------
diff --git a/mgmt/LocalManager.cc b/mgmt/LocalManager.cc
index 6036a7b..c43f0e6 100644
--- a/mgmt/LocalManager.cc
+++ b/mgmt/LocalManager.cc
@@ -253,8 +253,6 @@ LocalManager::LocalManager(bool proxy_on) : BaseManager(), run_proxy(proxy_on),
mgmt_fatal(0, "[LocalManager::LocalManager] please set bin path 'proxy.config.bin_path' \n");
}
- internal_ticker = 0;
-
watched_process_pid = -1;
process_server_sockfd = -1;
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1419f490/mgmt/LocalManager.h
----------------------------------------------------------------------
diff --git a/mgmt/LocalManager.h b/mgmt/LocalManager.h
index a660461..c9e99de 100644
--- a/mgmt/LocalManager.h
+++ b/mgmt/LocalManager.h
@@ -90,17 +90,6 @@ public:
bool processRunning();
bool clusterOk();
- void
- tick()
- {
- ++internal_ticker;
- };
- void
- resetTicker()
- {
- internal_ticker = 0;
- }
-
volatile bool run_proxy;
volatile time_t manager_started_at;
volatile time_t proxy_started_at;
@@ -132,7 +121,6 @@ public:
ClusterCom *ccom;
- volatile int internal_ticker;
volatile pid_t watched_process_pid;
int syslog_facility;