ngx_resolver.c

J.Q. S. q2011oct at gmail.com
Wed Jan 11 04:20:34 UTC 2012


ngx_resolver.c, lines 590-592, shouldn't they read:

if (!ngx_queue_empty(&r->name_resend_queue)) {
         ngx_add_timer(r->event, (ngx_msec_t) (r->resend_timeout * 1000));
}

i.e. set the timer if the queue isn't empty?



More information about the nginx-devel mailing list