diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-07-20 14:01:58 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-07-20 14:01:58 -0700 |
| commit | 5b114791e52c046be3b5db254566928ccc6c7a23 (patch) | |
| tree | 7802c250e74f1fe28bc0d24b866364791b74acec /node/Topology.cpp | |
| parent | 9bc11a369ca9ede9649103215fd0d491af4a8077 (diff) | |
| download | infinitytier-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.cpp | 3 |
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) |
