mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 00:25:29 +00:00
1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
[RT #2046]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
|
||||||
|
[RT #2046]
|
||||||
|
|
||||||
1121. [bug] The server could attempt to access a NULL zone
|
1121. [bug] The server could attempt to access a NULL zone
|
||||||
table if shut down while resolving.
|
table if shut down while resolving.
|
||||||
[RT #1587, #2054]
|
[RT #1587, #2054]
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: resolver.c,v 1.231 2001/11/14 01:01:28 gson Exp $ */
|
/* $Id: resolver.c,v 1.232 2001/11/14 01:31:12 gson Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -2219,7 +2219,7 @@ fctx_create(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type,
|
|||||||
/*
|
/*
|
||||||
* Compute an expiration time for the entire fetch.
|
* Compute an expiration time for the entire fetch.
|
||||||
*/
|
*/
|
||||||
isc_interval_set(&interval, 90, 0); /* XXXRTH constant */
|
isc_interval_set(&interval, 30, 0); /* XXXRTH constant */
|
||||||
iresult = isc_time_nowplusinterval(&fctx->expires, &interval);
|
iresult = isc_time_nowplusinterval(&fctx->expires, &interval);
|
||||||
if (iresult != ISC_R_SUCCESS) {
|
if (iresult != ISC_R_SUCCESS) {
|
||||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||||
|
Reference in New Issue
Block a user