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/06/06 00:12:05 UTC

trafficserver git commit: TS-2032 Remove confusing code remnants

Repository: trafficserver
Updated Branches:
  refs/heads/master c17566199 -> e4f43f5c5


TS-2032 Remove confusing code remnants


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

Branch: refs/heads/master
Commit: e4f43f5c5efdb12c136e10ef07b867784315d117
Parents: c175661
Author: John Rushford <Jo...@cable.comcast.com>
Authored: Fri Jun 5 18:11:55 2015 -0400
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Fri Jun 5 18:11:55 2015 -0400

----------------------------------------------------------------------
 proxy/http/HttpSM.cc | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e4f43f5c/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index a0ed48c..91c1fda 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -6625,17 +6625,6 @@ HttpSM::update_stats()
     os_read_time = -1;
   }
 
-// TS-2032: This code is never used, but leaving it here in case we want to add these
-// to the metrics code.
-#if 0
-  ink_hrtime cache_lookup_time;
-  if (milestones.cache_open_read_end != 0 && milestones.cache_open_read_begin != 0) {
-    cache_lookup_time = milestones.cache_open_read_end - milestones.cache_open_read_begin;
-  } else {
-    cache_lookup_time = -1;
-  }
-#endif
-
   HttpTransact::update_size_and_time_stats(
     &t_state, total_time, ua_write_time, os_read_time, client_request_hdr_bytes, client_request_body_bytes,
     client_response_hdr_bytes, client_response_body_bytes, server_request_hdr_bytes, server_request_body_bytes,