tftp: increase initial retry timeout from 50 to 100 ms

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-06-18 02:47:27 +02:00
parent 3b727ccb70
commit 5b1dfe609c

View File

@ -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 */