projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b727cc
)
tftp: increase initial retry timeout from 50 to 100 ms
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 18 Jun 2010 00:47:27 +0000
(
02:47
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 18 Jun 2010 00:47:27 +0000
(
02:47
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tftp.c
patch
|
blob
|
history
diff --git
a/networking/tftp.c
b/networking/tftp.c
index f895d19f993e4199e7793a6766af7fe3c817179a..43ae13647c06ac70fb0bbdc24dfb3ef802d11a02 100644
(file)
--- 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 */