TFTP: allow for adjustable retransmission timout
authorWolfgang Denk <wd@denx.de>
Sun, 17 Jan 2010 22:55:53 +0000 (23:55 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 21 Mar 2010 21:22:44 +0000 (22:22 +0100)
commitc96f86eefc215b67dd222694ce2b6f60e6a42b0b
tree9d076d61d88189965bd24eb0102c199e4c6d5b40
parent252b404d954f91499a4477a3e1064eb237ce5a1c
TFTP: allow for adjustable retransmission timout

So far, TFTP negotiated a fixed retransmission timeout of 5 seconds.
In some cases (busy networks, slow TFTP servers) this caused very
slow transfers. A new environment variable "tftptimeout" allows to
set this timeout. Lowering this value may make downloads succeed
faster in networks with high packet loss rates or with unreliable
TFTP servers.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
README
net/tftp.c