altugbakan / rs-tftpd

TFTP Server Daemon implemented in Rust
https://crates.io/crates/tftpd
MIT License
51 stars 14 forks source link

set 'duplicate-packets 0' in server command always upload failed #10

Closed jinxsong123 closed 10 months ago

jinxsong123 commented 10 months ago

when I start the server using this command 'tftpd -p 8888 -d /tmp/tftp --overwrite --duplicate-packets 0'

but client upload the file always 'Transfer timed out.'

图片

the Version: tftpd v0.2.8

altugbakan commented 10 months ago

Thanks for catching this, I will try to implement a testing suite for the server so that these bugs can be easily caught in the future.

altugbakan commented 10 months ago

Fixed with #11