Increase timeout/number of retries in TFTP.

This commit is contained in:
Simon Kelley committed 2013-06-19 10:31:23 +01:00
1 parent e2ba0df2d4
commit b4b9308079
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -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
+1 -1
View File
@@ -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;