diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-18 02:47:27 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-18 02:47:27 +0200 |
commit | 5b1dfe609c472b9b311ff3b135f4a5563d12848e (patch) | |
tree | 58ac3828912d21376d9f919d4aa0398004d44d2c | |
parent | 3b727ccb70d288b30d3af5d7964e703bc47b33fb (diff) | |
download | busybox-w32-5b1dfe609c472b9b311ff3b135f4a5563d12848e.tar.gz busybox-w32-5b1dfe609c472b9b311ff3b135f4a5563d12848e.tar.bz2 busybox-w32-5b1dfe609c472b9b311ff3b135f4a5563d12848e.zip |
tftp: increase initial retry timeout from 50 to 100 ms
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/tftp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index f895d19f9..43ae13647 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -24,7 +24,8 @@ | |||
24 | 24 | ||
25 | #define TFTP_BLKSIZE_DEFAULT 512 /* according to RFC 1350, don't change */ | 25 | #define TFTP_BLKSIZE_DEFAULT 512 /* according to RFC 1350, don't change */ |
26 | #define TFTP_BLKSIZE_DEFAULT_STR "512" | 26 | #define TFTP_BLKSIZE_DEFAULT_STR "512" |
27 | #define TFTP_TIMEOUT_MS 50 | 27 | /* Was 50 ms but users asked to bump it up a bit */ |
28 | #define TFTP_TIMEOUT_MS 100 | ||
28 | #define TFTP_MAXTIMEOUT_MS 2000 | 29 | #define TFTP_MAXTIMEOUT_MS 2000 |
29 | #define TFTP_NUM_RETRIES 12 /* number of backed-off retries */ | 30 | #define TFTP_NUM_RETRIES 12 /* number of backed-off retries */ |
30 | 31 | ||