mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
do not delete failed DNS request if there are waiting clients
This commit is contained in:
parent
4d856ca763
commit
61adfb287f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user