mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00: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:
committed by
Arаm Sаrgsyаn
parent
5367ccb561
commit
a6d6c3cb45
@@ -360,7 +360,6 @@ struct fetchctx {
|
|||||||
atomic_uint_fast32_t attributes;
|
atomic_uint_fast32_t attributes;
|
||||||
isc_timer_t *timer;
|
isc_timer_t *timer;
|
||||||
isc_time_t expires;
|
isc_time_t expires;
|
||||||
isc_time_t next_timeout;
|
|
||||||
isc_interval_t interval;
|
isc_interval_t interval;
|
||||||
dns_message_t *qmessage;
|
dns_message_t *qmessage;
|
||||||
ISC_LIST(resquery_t) queries;
|
ISC_LIST(resquery_t) queries;
|
||||||
@@ -1875,7 +1874,6 @@ fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {
|
|||||||
seconds = us / US_PER_SEC;
|
seconds = us / US_PER_SEC;
|
||||||
us -= seconds * US_PER_SEC;
|
us -= seconds * US_PER_SEC;
|
||||||
isc_interval_set(&fctx->interval, seconds, us * NS_PER_US);
|
isc_interval_set(&fctx->interval, seconds, us * NS_PER_US);
|
||||||
isc_time_nowplusinterval(&fctx->next_timeout, &fctx->interval);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static isc_result_t
|
static isc_result_t
|
||||||
|
Reference in New Issue
Block a user