Repository: trafficserver
Updated Branches:
  refs/heads/master c31e12b49 -> 65fa4ec51


Fixing debug build issue introduced by github pull request #234


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

Branch: refs/heads/master
Commit: 65fa4ec5182bef596b81dc945c1d29a9f13b4360
Parents: c31e12b
Author: Brian Geffon <[email protected]>
Authored: Mon Jun 29 23:14:58 2015 -0700
Committer: Brian Geffon <[email protected]>
Committed: Mon Jun 29 23:14:58 2015 -0700

----------------------------------------------------------------------
 iocore/hostdb/I_HostDBProcessor.h | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/65fa4ec5/iocore/hostdb/I_HostDBProcessor.h
----------------------------------------------------------------------
diff --git a/iocore/hostdb/I_HostDBProcessor.h 
b/iocore/hostdb/I_HostDBProcessor.h
index 720401b..05112ff 100644
--- a/iocore/hostdb/I_HostDBProcessor.h
+++ b/iocore/hostdb/I_HostDBProcessor.h
@@ -271,17 +271,6 @@ struct HostDBInfo {
       //  failure times.  This sets the upper bound that we would ever
       //  consider a server down to 2*down_server_timeout
       if (now + fail_window < last_failure) {
-#ifdef DEBUG
-        // because this region is mmaped, I cann't get anything
-        //   useful from the structure in core files,  therefore
-        //   copy the revelvant info to the stack so it will
-        //   be readble in the core
-        HostDBInfo current_info;
-        HostDBRoundRobin current_rr;
-        memcpy(&current_info, &info[i], sizeof(HostDBInfo));
-        memcpy(&current_rr, this, sizeof(HostDBRoundRobin));
-        ink_assert(!"extreme clock skew");
-#endif
         app.http_data.last_failure = 0;
         return false;
       }

Reply via email to