You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/02/01 21:30:26 UTC

[1/2] trafficserver git commit: TS-3357 Clean out some unused code from Machine.*

Repository: trafficserver
Updated Branches:
  refs/heads/master 893d58d9f -> 2ceeb1198


TS-3357 Clean out some unused code from Machine.*


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f8433dbc
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f8433dbc
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f8433dbc

Branch: refs/heads/master
Commit: f8433dbcd3c6e1ff93041e9251ad878d1435e894
Parents: 893d58d
Author: Leif Hedstrom <zw...@apache.org>
Authored: Sun Feb 1 13:17:29 2015 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Sun Feb 1 13:17:29 2015 -0700

----------------------------------------------------------------------
 CHANGES                         |  2 ++
 iocore/hostdb/include/Machine.h | 13 -------------
 iocore/utils/I_Machine.h        | 14 --------------
 3 files changed, 2 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f8433dbc/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 68c5e17..4266fa4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.3.0
 
+  *) [TS-3357] Clean out some unused code from Machine.*.
+
   *) [TS-3355] Fix compiler warning on CentOS5.
 
   *) [TS-3353] fix traffic_via memory bug.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f8433dbc/iocore/hostdb/include/Machine.h
----------------------------------------------------------------------
diff --git a/iocore/hostdb/include/Machine.h b/iocore/hostdb/include/Machine.h
index 9c29ccb..a933b39 100644
--- a/iocore/hostdb/include/Machine.h
+++ b/iocore/hostdb/include/Machine.h
@@ -104,24 +104,11 @@ struct MachineList
   }
 };
 
-inkcoreapi Machine *this_machine();
-void create_this_machine();
-
 void free_Machine(Machine * m);
 
-MachineList *the_machines_config();
 MachineList *the_cluster_config();
 extern ProxyMutex *the_cluster_config_mutex;
 
-#define INK_GETHOSTBYNAME_R_DATA_SIZE 10000
-struct ink_gethostbyname_r_data
-{
-  int herrno;
-  struct hostent ent;
-  char buf[INK_GETHOSTBYNAME_R_DATA_SIZE];
-};
-
-struct hostent *ink_gethostbyname_r(char *hostname, ink_gethostbyname_r_data * data);
 //
 // Private
 //

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f8433dbc/iocore/utils/I_Machine.h
----------------------------------------------------------------------
diff --git a/iocore/utils/I_Machine.h b/iocore/utils/I_Machine.h
index 9f81150..c2ec112 100644
--- a/iocore/utils/I_Machine.h
+++ b/iocore/utils/I_Machine.h
@@ -83,18 +83,4 @@ protected:
   static self* _instance; ///< Singleton for the class.
 };
 
-/**
-  Creates a Machine Object with the hostname and IP address.  If no
-  hostname or IP address is given, the hostname defaults to the name of
-  the current processor.
-
- */
-void create_this_machine(char *hostname = 0, unsigned int ip = 0);
-
-/**
-  Returns the Machine object created by create_this_machine().
-
- */
-Machine *this_machine();
-
 #endif


[2/2] trafficserver git commit: Add TS-1264 to CHANGES.

Posted by zw...@apache.org.
Add TS-1264 to CHANGES.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2ceeb119
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2ceeb119
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2ceeb119

Branch: refs/heads/master
Commit: 2ceeb1198883617ba82acb5e8cbab30cae2c2a09
Parents: f8433db
Author: Leif Hedstrom <zw...@apache.org>
Authored: Sun Feb 1 13:30:13 2015 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Sun Feb 1 13:30:13 2015 -0700

----------------------------------------------------------------------
 CHANGES | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2ceeb119/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 4266fa4..ea9dcab 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,9 @@ Changes with Apache Traffic Server 5.3.0
 
   *) [TS-3357] Clean out some unused code from Machine.*.
 
+  *) [TS-1264] Account for overhead in LRU cache. Add RamCache regression
+   test. Fix hit accounting for history in CLFUS Ram cache.
+
   *) [TS-3355] Fix compiler warning on CentOS5.
 
   *) [TS-3353] fix traffic_via memory bug.