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 2015/01/10 02:28:26 UTC

trafficserver git commit: Rename _HttpApiInfo to HttpApiInfo

Repository: trafficserver
Updated Branches:
  refs/heads/master e9650192e -> 820b20553


Rename _HttpApiInfo to HttpApiInfo


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

Branch: refs/heads/master
Commit: 820b20553841e3fc1438f0e29eea00d67b6cad7a
Parents: e965019
Author: James Peach <jp...@apache.org>
Authored: Fri Jan 9 17:27:54 2015 -0800
Committer: James Peach <jp...@apache.org>
Committed: Fri Jan 9 17:28:16 2015 -0800

----------------------------------------------------------------------
 proxy/ControlMatcher.h    | 4 ++--
 proxy/ParentSelection.cc  | 2 +-
 proxy/http/HttpTransact.h | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/820b2055/proxy/ControlMatcher.h
----------------------------------------------------------------------
diff --git a/proxy/ControlMatcher.h b/proxy/ControlMatcher.h
index 801a6b9..55ec396 100644
--- a/proxy/ControlMatcher.h
+++ b/proxy/ControlMatcher.h
@@ -105,7 +105,7 @@
 #endif
 
 class HostLookup;
-struct _HttpApiInfo;
+struct HttpApiInfo;
 struct matcher_line;
 struct matcher_tags;
 
@@ -152,7 +152,7 @@ public:
 
   HTTPHdr *hdr;
   char *hostname_str;
-  _HttpApiInfo *api_info;
+  HttpApiInfo *api_info;
   time_t xact_start;
   IpEndpoint src_ip;
   IpEndpoint dest_ip;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/820b2055/proxy/ParentSelection.cc
----------------------------------------------------------------------
diff --git a/proxy/ParentSelection.cc b/proxy/ParentSelection.cc
index a6d471c..262cf26 100644
--- a/proxy/ParentSelection.cc
+++ b/proxy/ParentSelection.cc
@@ -1360,7 +1360,7 @@ br(HttpRequestData * h, const char *os_hostname, sockaddr const* dest_ip)
   ink_zero(h->dest_ip);
   ats_ip_copy(&h->dest_ip.sa, dest_ip);
   h->incoming_port = 80;
-  h->api_info = new _HttpApiInfo();
+  h->api_info = new HttpApiInfo();
 }
 
 // show_result prints out the ParentResult information

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/820b2055/proxy/http/HttpTransact.h
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.h b/proxy/http/HttpTransact.h
index d55a0fb..b2b6b42 100644
--- a/proxy/http/HttpTransact.h
+++ b/proxy/http/HttpTransact.h
@@ -233,7 +233,7 @@ enum ViaString_t
   VIA_DETAIL_SERVER_FAILURE = 'F'
 };
 
-typedef struct _HttpApiInfo
+struct HttpApiInfo
 {
   char *parent_proxy_name;
   int parent_proxy_port;
@@ -242,12 +242,12 @@ typedef struct _HttpApiInfo
   bool logging_enabled;
   bool retry_intercept_failures;
 
-  _HttpApiInfo()
+  HttpApiInfo()
   : parent_proxy_name(NULL),
     parent_proxy_port(-1),
     cache_untransformed(false), cache_transformed(true), logging_enabled(true), retry_intercept_failures(false)
   { }
-} HttpApiInfo;
+};
 
 enum
 {