We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a37f57 commit ef0e703Copy full SHA for ef0e703
1 file changed
src/iocore/hostdb/HostDB.cc
@@ -1165,6 +1165,10 @@ HostDBContinuation::remove_and_trigger_pending_dns()
1165
}
1166
EThread *thread = this_ethread();
1167
while ((c = qq.dequeue())) {
1168
+ if (c->action.cancelled || c->mutex == nullptr) {
1169
+ continue;
1170
+ }
1171
+
1172
// resume all queued HostDBCont in the thread associated with the netvc to avoid nethandler locking issues.
1173
EThread *affinity_thread = c->getThreadAffinity();
1174
SCOPED_MUTEX_LOCK(lock, c->mutex, this_ethread());
0 commit comments