mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-26 16:47:31 -04:00
1053. [bug] Dig did not increase its timeout when receiving
AXFRs unless the +time option was used. [RT #1904]
This commit is contained in:
parent
0ebade1fcd
commit
3ad07fa335
2 changed files with 6 additions and 3 deletions
3
CHANGES
3
CHANGES
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue