소스 검색

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

Roger Dingledine 22 년 전
부모
커밋
fadfd26188
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/or/dns.c

+ 0 - 1
src/or/dns.c

@@ -203,7 +203,6 @@ void dns_cancel_pending_resolve(char *address, connection_t *onlyconn) {
     return;
   }
 
-  assert(resolve->state == CACHE_STATE_PENDING);
   assert(resolve->pending_connections);
 
   if(onlyconn) {