altugbakan / rs-tftpd

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

Add config to mark server as read-only #2

Closed Foorack closed 1 year ago

Foorack commented 1 year ago

This PR adds a new config option to mark the server as read-only. When this option is set, the server will not allow any write operations. README and documentation have been updated to include this new option.

It can be toggled with --read-only or -r for short. Added similar tests to the existing ones to ensure that the config flag works as expected.

Foorack commented 1 year ago

@altugbakan Thanks, suggestion applied!