do not delete failed DNS request if there are waiting clients

This commit is contained in:
Igor Sysoev 2008-02-06 16:08:52 +00:00
parent 4d856ca763
commit 61adfb287f

View File

@ -785,9 +785,9 @@ ngx_resolver_resend(ngx_resolver_t *r, ngx_rbtree_t *tree, ngx_queue_t *queue)
rn->expire = now + r->resend_timeout;
ngx_queue_insert_head(queue, &rn->queue);
continue;
}
continue;
}
ngx_rbtree_delete(tree, &rn->node);