mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
remove assert from dns.c that's no longer true:
typically the resolve will be pending, but it could be failed if it just failed and we're working through the 'pending' list, or it could be valid if some other dnsworker raced us to fill in the entry. svn:r1164
This commit is contained in:
parent
f039eca658
commit
fadfd26188
@ -203,7 +203,6 @@ void dns_cancel_pending_resolve(char *address, connection_t *onlyconn) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(resolve->state == CACHE_STATE_PENDING);
|
|
||||||
assert(resolve->pending_connections);
|
assert(resolve->pending_connections);
|
||||||
|
|
||||||
if(onlyconn) {
|
if(onlyconn) {
|
||||||
|
Loading…
Reference in New Issue
Block a user