Updated Branches:
  refs/heads/master d26cb3920 -> d48c1b70b

Remove unused ServerState_t string mapping


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

Branch: refs/heads/master
Commit: d48c1b70baf29b52ec9de687ac4913e7aec007e8
Parents: d26cb39
Author: James Peach <[email protected]>
Authored: Tue Feb 4 12:00:45 2014 -0800
Committer: James Peach <[email protected]>
Committed: Tue Feb 4 12:00:45 2014 -0800

----------------------------------------------------------------------
 proxy/http/HttpTransact.h | 29 -----------------------------
 1 file changed, 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d48c1b70/proxy/http/HttpTransact.h
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.h b/proxy/http/HttpTransact.h
index 21d8a40..4513940 100644
--- a/proxy/http/HttpTransact.h
+++ b/proxy/http/HttpTransact.h
@@ -1395,35 +1395,6 @@ HttpTransact::free_internal_msg_buffer(char *buffer, 
int64_t size)
   }
 }
 
-inline const char*
-conn_state_enum_to_str(HttpTransact::ServerState_t the_state)
-{
-  switch (the_state) {
-  case HttpTransact::STATE_UNDEFINED:
-    return "STATE_UNDEFINED";
-  case HttpTransact::ACTIVE_TIMEOUT:
-    return "ACTIVE_TIMEOUT";
-  case HttpTransact::BAD_INCOMING_RESPONSE:
-    return "BAD_INCOMING_RESPONSE";
-  case HttpTransact::CONNECTION_ALIVE:
-    return "CONNECTION_ALIVE";
-  case HttpTransact::CONNECTION_CLOSED:
-    return "CONNECTION_CLOSED";
-  case HttpTransact::CONNECTION_ERROR:
-    return "CONNECTION_ERROR";
-  case HttpTransact::INACTIVE_TIMEOUT:
-    return "INACTIVE_TIMEOUT";
-  case HttpTransact::OPEN_RAW_ERROR:
-    return "OPEN_RAW_ERROR";
-  case HttpTransact::PARSE_ERROR:
-    return "PARSE_ERROR";
-  case HttpTransact::TRANSACTION_COMPLETE:
-    return "TRANSACTION_COMPLETE";
-  default:
-    return "BOGUG_STATE";
-  }
-}
-
 inline bool
 is_response_body_precluded(HTTPStatus status_code, int method)
 {

Reply via email to