summaryrefslogtreecommitdiff
path: root/node/Path.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-26 16:44:58 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-26 16:44:58 -0700
commite6b23059aca4947c8c4638c5d5e0abdba3b2b7b7 (patch)
treeadaf54ea49f8086bb79dcd825ca35369aafa9c1b /node/Path.hpp
parent04169b51505bc41f70ad7b8797e8e4d5376bb9c7 (diff)
downloadinfinitytier-e6b23059aca4947c8c4638c5d5e0abdba3b2b7b7.tar.gz
infinitytier-e6b23059aca4947c8c4638c5d5e0abdba3b2b7b7.zip
Change the way TCP failover is invoked.
Diffstat (limited to 'node/Path.hpp')
-rw-r--r--node/Path.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/node/Path.hpp b/node/Path.hpp
index 960b08b3..09ed1f9e 100644
--- a/node/Path.hpp
+++ b/node/Path.hpp
@@ -88,19 +88,6 @@ public:
}
/**
- * @return True if it appears that a ping has gone unanswered
- */
- inline bool pingUnanswered(uint64_t now) const
- throw()
- {
- uint64_t lp = _lastPing;
- uint64_t lr = _lastReceived;
- if (lp)
- return ((lr < lp)&&((lp - lr) > ZT_PING_UNANSWERED_AFTER));
- return false;
- }
-
- /**
* @return Human-readable address and other information about this path, some computed as of current time
*/
inline std::string toString() const