]> git.kaiwu.me - nginx.git/commit
Resolver: cancelable resend timer event.
authorRuslan Ermilov <ru@nginx.com>
Tue, 4 Jul 2017 15:50:41 +0000 (18:50 +0300)
committerRuslan Ermilov <ru@nginx.com>
Tue, 4 Jul 2017 15:50:41 +0000 (18:50 +0300)
commit6330817a96bbe2227dd6f2cfeaa785ed27c169a0
tree7197ea1fbae08d8afe40c55dc994dab4d2117115
parent225a5c7704f0c98d91fd908c210d3957454ef20e
Resolver: cancelable resend timer event.

It is safe because re-sending still works during graceful shutdown as
long as resolving takes place (and resolve tasks set their own timeouts
that are not cancelable).

Also, the new ctx->cancelable flag can be set to make resolve task's
timeout event cancelable.
src/core/ngx_resolver.c
src/core/ngx_resolver.h