diff options
author | Marcin Adamski <mass85@tlen.pl> | 2011-10-13 19:45:36 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-10-13 19:45:36 +0200 |
commit | 03adff1eba561c433a2667046c52d609322e684a (patch) | |
tree | 854a237b0cf48d6c343c738fa37a837888bc2bf9 /lib/fileinfo.c | |
parent | 34770b8ab0f2881b7437ef73ca757957335997a0 (diff) |
tftp.c: TFTP timeout and unexpected block adjustments
Set ACK timeout to 5 seconds.
If we are waiting for block X and receive block Y that is the expected one, we
should send ACK and increase X (which is already implemented). Otherwise drop
the packet and don't increase retry counter.
Diffstat (limited to 'lib/fileinfo.c')
0 files changed, 0 insertions, 0 deletions