[git commit master 1/1] tftp: increase initial retry timeout from 50 to 100 ms

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 18 00:47:27 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=5b1dfe609c472b9b311ff3b135f4a5563d12848e
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/tftp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/networking/tftp.c b/networking/tftp.c
index f895d19..43ae136 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -24,7 +24,8 @@
 
 #define TFTP_BLKSIZE_DEFAULT       512  /* according to RFC 1350, don't change */
 #define TFTP_BLKSIZE_DEFAULT_STR "512"
-#define TFTP_TIMEOUT_MS             50
+/* Was 50 ms but users asked to bump it up a bit */
+#define TFTP_TIMEOUT_MS            100
 #define TFTP_MAXTIMEOUT_MS        2000
 #define TFTP_NUM_RETRIES            12  /* number of backed-off retries */
 
-- 
1.7.1



More information about the busybox-cvs mailing list