1053. [bug] Dig did not increase its timeout when receiving

AXFRs unless the +time option was used. [RT #1904]
This commit is contained in:
Andreas Gustafsson 2001-10-15 20:40:36 +00:00
parent 0ebade1fcd
commit 3ad07fa335
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,6 @@
1053. [bug] Dig did not increase its timeout when receiving
AXFRs unless the +time option was used. [RT #1904]
1052. [bug] Journals were not being created in binary mode
resulting in "journal format not recognized" error
under Windows NT/2000. [RT #1889]

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.231 2001/10/11 00:38:56 gson Exp $ */
/* $Id: dighost.c,v 1.232 2001/10/15 20:40:36 gson Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
@ -2304,9 +2304,9 @@ recv_done(isc_task_t *task, isc_event_t *event) {
if (timeout == 0) {
if (l->tcp_mode)
local_timeout = TCP_TIMEOUT;
local_timeout = TCP_TIMEOUT * 4;
else
local_timeout = UDP_TIMEOUT;
local_timeout = UDP_TIMEOUT * 4;
} else {
if (timeout < (INT_MAX / 4))
local_timeout = timeout * 4;