Commit ba7c74e7 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

bandaid: make Giorgos Pallas's dns assert bug not actually crash on him.

one day we should try to figure out what's actually going on here.

parent 6dd91de3
......@@ -396,6 +396,11 @@ void dns_cancel_pending_resolve(char *address) {
if (!resolve->pending_connections) {
/* XXX this should never trigger, but sometimes it does */
log_fn(LOG_WARN,"Bug: Address '%s' is pending but has no pending connections!", address);
/* mark all pending connections to fail */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment