Skip to content

Commit ca3eebf

Browse files
committed
Add support for windowsize option (RFC 7440)
1 parent 8f8d69c commit ca3eebf

File tree

12 files changed

+724
-90
lines changed

12 files changed

+724
-90
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The following RFCs are implemented:
1313
* [RFC 2347] - TFTP Option Extension.
1414
* [RFC 2348] - TFTP Blocksize Option.
1515
* [RFC 2349] - TFTP Timeout Interval and Transfer Size Options.
16+
* [RFC 7440] - TFTP Windowsize Option.
1617

1718
Features:
1819

examples/tftpd-dir.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ async fn main() -> Result<()> {
1414
.bind("0.0.0.0:6969".parse().unwrap())
1515
// Workaround to handle cases where client is behind VPN
1616
.block_size_limit(1024)
17+
.window_size(64)
1718
.build()
1819
.await?;
1920

0 commit comments

Comments
 (0)