fix infinite retry bug. also, reduce per-packet receive timeout
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 6 Sep 2007 17:52:22 +0000 (17:52 +0000)
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 6 Sep 2007 17:52:22 +0000 (17:52 +0000)
commitd9ab0a400832060a3bb8eb9652911795cde0dd08
tree62ba251d0311ef31e839b6f4d389cfbee62dd16d
parent7a84acad8a43c27fa478d15f3be4676ddd0b342d
fix infinite retry bug.  also, reduce per-packet receive timeout
to something more reasonable than 5 seconds, and add simple
exponential backoff to compensate.  improves performance on
marginal networks.

git-svn-id: svn://busybox.net/trunk/busybox@19797 69ca8d6d-28ef-0310-b511-8ec308f3f277
networking/tftp.c