From b4b93080799fe26f18f0595b8e047dd1629c8007 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Wed, 19 Jun 2013 10:31:23 +0100 Subject: [PATCH] Increase timeout/number of retries in TFTP. --- CHANGELOG | 6 +++++- src/tftp.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6394107..78eef33 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -56,7 +56,11 @@ version 2.67 we can't use SO_BINDTODEVICE. Thanks to Natrio for the bug report. - + Increase timeout/number of retries in TFTP to accomodate + AudioCodes Voice Gateways doing streaming writes to flash. + Thanks to Damian Kaczkowski for spotting the problem. + + version 2.66 Add the ability to act as an authoritative DNS server. Dnsmasq can now answer queries from the wider 'net diff --git a/src/tftp.c b/src/tftp.c index f34351c..088fb92 100644 --- a/src/tftp.c +++ b/src/tftp.c @@ -555,7 +555,7 @@ void check_tftp_listeners(fd_set *rset, time_t now) } /* don't complain about timeout when we're awaiting the last ACK, some clients never send it */ - else if (++transfer->backoff > 5 && len != 0) + else if (++transfer->backoff > 7 && len != 0) { endcon = 1; len = 0;