summaryrefslogtreecommitdiff
path: root/node/Topology.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-07-20 14:01:58 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-07-20 14:01:58 -0700
commit5b114791e52c046be3b5db254566928ccc6c7a23 (patch)
tree7802c250e74f1fe28bc0d24b866364791b74acec /node/Topology.cpp
parent9bc11a369ca9ede9649103215fd0d491af4a8077 (diff)
downloadinfinitytier-5b114791e52c046be3b5db254566928ccc6c7a23.tar.gz
infinitytier-5b114791e52c046be3b5db254566928ccc6c7a23.zip
Fix a bug that caused a crash on empty HTTP requests (localhost only) and add a lightweight lock to the RX queue to prevent possible threads stepping on each other in parallel receive paths.
Diffstat (limited to 'node/Topology.cpp')
-rw-r--r--node/Topology.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/node/Topology.cpp b/node/Topology.cpp
index a1b66ac7..7c526b41 100644
--- a/node/Topology.cpp
+++ b/node/Topology.cpp
@@ -382,8 +382,6 @@ void Topology::doPeriodicTasks(void *tPtr,int64_t now)
}
}
- // Temporarily disable path cleanup to test hypothesis about periodic threading issues as reported by Keysight.
-/*
{
Mutex::Lock _l(_paths_m);
Hashtable< Path::HashKey,SharedPtr<Path> >::Iterator i(_paths);
@@ -394,7 +392,6 @@ void Topology::doPeriodicTasks(void *tPtr,int64_t now)
_paths.erase(*k);
}
}
-*/
}
void Topology::_memoizeUpstreams(void *tPtr)