mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 21:20:00 -04:00
Clean up fctx->next_timeout
Since the support for non-zero values of stale-answer-client-timeout
was removed in bd7463914f, 'next_timeout'
is unused. Clean it up.
This commit is contained in:
parent
5367ccb561
commit
a6d6c3cb45
1 changed files with 0 additions and 2 deletions
|
|
@ -360,7 +360,6 @@ struct fetchctx {
|
|||
atomic_uint_fast32_t attributes;
|
||||
isc_timer_t *timer;
|
||||
isc_time_t expires;
|
||||
isc_time_t next_timeout;
|
||||
isc_interval_t interval;
|
||||
dns_message_t *qmessage;
|
||||
ISC_LIST(resquery_t) queries;
|
||||
|
|
@ -1875,7 +1874,6 @@ fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {
|
|||
seconds = us / US_PER_SEC;
|
||||
us -= seconds * US_PER_SEC;
|
||||
isc_interval_set(&fctx->interval, seconds, us * NS_PER_US);
|
||||
isc_time_nowplusinterval(&fctx->next_timeout, &fctx->interval);
|
||||
}
|
||||
|
||||
static isc_result_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue