Klaus Demo nginx / 6b18bb5
Resolver: fixed possible premature stop of the resend timer. Previously, ngx_resolve_name_done() and ngx_resolve_addr_done() may have stopped the resend timer prematurely while srv_resend_queue was not empty. Dmitry Volyntsev 3 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
15551555 ngx_resolver_resend_empty(ngx_resolver_t *r)
15561556 {
15571557 return ngx_queue_empty(&r->name_resend_queue)
1558 && ngx_queue_empty(&r->srv_resend_queue)
15581559 #if (NGX_HAVE_INET6)
15591560 && ngx_queue_empty(&r->addr6_resend_queue)
15601561 #endif