mykola2312
d0bdfb327f
fix toggle in unit tests
2024-07-17 11:32:03 +03:00
mykola2312
8fb83b96e2
rename toggle to "keep on error" to be more descriptive
2024-07-17 11:18:31 +03:00
mykola2312
b41de4a49e
fix help text to be consistent
2024-07-17 10:18:44 +03:00
mykola2312
de0e790962
feat: make cli option to prevent file removal after receiving errors. integrate option into Config & ClientConfig and populate to Worker applying required behavior
2024-07-17 05:33:30 +03:00
Altuğ Bakan
b9264c8cb0
Bump version
2024-07-01 22:21:00 +02:00
Altuğ Bakan
c92e45dcca
Update client unit test
2024-07-01 22:19:54 +02:00
Altuğ Bakan
b8fb6ee271
Add tftpc integration tests
2024-07-01 22:17:45 +02:00
Altuğ Bakan
2aff61927b
Cleanup
2024-07-01 22:17:29 +02:00
Pierre Tardy
9060cbd74f
fix: fix client argument parsing
2024-07-01 20:46:21 +02:00
Pierre Tardy
7a6be5e9b5
feat: create tftpc binary
2024-07-01 20:46:21 +02:00
Jolan Rathelot
fb3a684f28
Added client to rs-tftpd
2024-07-01 14:24:56 +02:00
Altuğ Bakan
1db6805a51
Improve empty directory check
2024-06-11 22:07:11 +02:00
Altuğ Bakan
52a6cf3963
Improve clone efficiency
2024-06-11 21:02:18 +02:00
Altuğ Bakan
d054166fc5
Bump version
2024-06-06 19:27:29 +02:00
Brendon Daugherty
427e207d3f
feat(config): Implement std::default::Default
...
I'd like to use Config::default in my own code when constructing a
`Config`. Let's implement the Default trait so that others can use it
without wrapping our struct due to ownership rules.
2024-06-06 19:24:47 +02:00
Brendon Daugherty
4a95f6cf57
doc(config): Update default to reflect value in new
...
I noticed that the default value in the comment didn't reflect the value
actually used in the new method. Let's update the comment.
2024-06-06 08:54:43 +02:00
Altuğ Bakan
f25d052983
Bump version
2024-03-13 19:45:03 +01:00
Altuğ Bakan
f807dac45a
Add integration test for single port with options
2024-03-13 19:44:48 +01:00
Kimmo Jyrinki
d0411591f1
Fix single port RRQ with options fail ( #17 )
2024-03-12 10:58:35 +01:00
Altuğ Bakan
cb00acd3a4
Bump version
2024-02-23 21:29:49 +01:00
Altuğ Bakan
9dea74f7a0
Add IPV6 tests
2024-02-23 21:29:30 +01:00
Altuğ Bakan
9eef30a58a
Add IPV6 support
2024-02-23 21:24:26 +01:00
Altuğ Bakan
e81540f24d
Bump version
2023-11-04 13:04:22 +01:00
shuyuImpossible
d43382f59a
Add upload directory and download directory ( #14 )
...
Co-authored-by: y1shu <yu.shu@nokia-sbell.com>
Co-authored-by: Altuğ Bakan <mail@alt.ug>
2023-11-04 12:49:02 +01:00
Altuğ Bakan
a706c8b388
Add integration tests
2023-10-29 16:25:46 +01:00
Altuğ Bakan
d07f40ef8e
Add duplicate packets test
2023-10-27 18:45:56 +02:00
Altuğ Bakan
6d526c1b74
Bump version
2023-10-27 18:41:59 +02:00
Ville Heikkinen
16f2319174
Set duplicate-packets default to match the help
...
Help text says that the duplicate-packets default is 0,
so set it also to be the default.
2023-10-27 09:33:30 +02:00
Ville Heikkinen
1f373a5928
Fix receiving files when duplicate packets == 0
...
Acks weren't sent at all in case duplicate packets were configured to be zero.
2023-10-27 09:33:30 +02:00
Altuğ Bakan
6d5d56052d
Bump version
2023-10-10 19:12:45 +02:00
Lee Lup Yuen
5ef2ffa349
Wait 1 millisecond between duplicate packets
...
Based on my testing, we need to insert 1 millisecond delay between the Original and Duplicate Packets to eliminate the TFTP Timeouts.
__Without Delay:__ U-Boot JH7110 boots slower (5.7 Mbps), with 2 TFTP Timeouts
```text
Filename 'initrd'.
Loading: 711.9 KiB/s
Bytes transferred = 8100864 (7b9c00 hex)
```
__With Delay (1 millisecond):__ U-Boot JH7110 boots faster (8.8 Mbps), with No TFTP Timeouts
```text
Filename 'initrd'.
Loading: 1.1 MiB/s
Bytes transferred = 8100864 (7b9c00 hex)
```
2023-10-09 13:32:49 +08:00
Lee Lup Yuen
07f150e3d0
Merge remote-tracking branch 'upstream/main' into patch-1
2023-10-09 13:11:16 +08:00
Lup Yuen Lee
43d6747188
Wait 1 millisecond between duplicate packets
...
Based on my testing, we need to insert 1 millisecond delay between the Original and Duplicate Packets.
__Without Delay:__ U-Boot JH7110 boots slower (5.7 Mbps), with 2 TFTP Timeouts
```text
Filename 'initrd'.
Loading: 711.9 KiB/s
Bytes transferred = 8100864 (7b9c00 hex)
```
__With Delay (1 millisecond):__ U-Boot JH7110 boots faster (8.8 Mbps), with No TFTP Timeouts
```text
Filename 'initrd'.
Loading: 1.1 MiB/s
Bytes transferred = 8100864 (7b9c00 hex)
```
2023-10-09 12:55:12 +08:00
Altuğ Bakan
3af429fa4a
Add overwrite mode
2023-10-08 15:52:41 +02:00
Altuğ Bakan
bf7b2a2ee3
Update duplicate packet behavior
2023-10-08 15:16:28 +02:00
Geert Stappers
e8f8c8e8c1
Help text change for serving directory
...
Fixes a copy-and-paste error.
Reported-by: jinxsong 123
2023-10-08 14:01:17 +02:00
Altuğ Bakan
0f241e5f05
Add duplicate packet support
2023-10-07 14:28:56 +02:00
Altuğ Bakan
64f7e0f7ef
Update clippy improvements
2023-10-07 13:10:53 +02:00
Ville Heikkinen
83b1387cd7
Fix failing fills_and_removes_from_window test
...
As the tests are run concurrently, the directory might already
exist, so just ignore the failure.
Fixes the following error when running the tests:
---- window::tests::fills_and_removes_from_window stdout ----
thread 'window::tests::fills_and_removes_from_window' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 17, kind: AlreadyExists, message: "File exists" }', src/window.rs:194:38
2023-08-18 15:13:27 +02:00
Altuğ Bakan
036089d5d0
Bump version
2023-07-17 20:10:42 +02:00
Foorack / Max Faxälv
4bd8b59c5e
Update README.md
...
Co-authored-by: Altuğ Bakan <mail@alt.ug>
2023-07-17 11:21:17 +02:00
Foorack / Max Faxälv
38e6ad3360
Add config to mark server as read-only
2023-07-17 11:21:17 +02:00
Altuğ Bakan
b14d066d5a
Bump version
2023-05-12 10:20:45 +00:00
Altuğ Bakan
51539c2733
Remove Message
2023-05-12 10:02:51 +00:00
Altuğ Bakan
9096e94f00
Overall improvements
2023-05-12 07:59:53 +00:00
Altuğ Bakan
6df9155c32
Bump version
2023-05-07 21:11:26 +03:00
Altuğ Bakan
8925922ef5
Add experimental single port support
2023-05-07 21:10:59 +03:00
altugbakan
2239b7ac9f
Bump version
2023-04-30 14:34:41 +03:00
altugbakan
47b91b0c43
Update function name
2023-04-30 14:31:34 +03:00
altugbakan
6cad01fafd
Fix windowsize parsing
2023-04-09 13:23:31 +03:00