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
Altuğ Bakan
0a5e7af5ac
Update README.md
2023-04-08 15:03:18 +03:00
altugbakan
8da3b0995f
Bump version to 0.2.0
2023-04-01 14:18:48 +03:00
altugbakan
849dd2e041
Add windowsize option to receive
2023-04-01 14:15:08 +03:00
altugbakan
3ed9834b60
Add windowsize option for send
2023-04-01 14:15:08 +03:00
altugbakan
ef28c2585d
Add Window tests and fixes
2023-04-01 14:15:08 +03:00
altugbakan
361d077d1b
Add work on windowsize and run clippy
2023-04-01 14:15:08 +03:00
Altuğ Bakan
9e83591bae
Restructure sending error
2023-03-29 11:52:04 +00:00
altugbakan
9f0dfe6073
Fix data retransmission on repeating ACKs
2023-03-20 18:46:35 +03:00
altugbakan
97c452a623
Overall code simplifications
2023-03-19 21:15:48 +03:00
altugbakan
6e52f55264
Make tests OS independent
2023-03-13 20:19:02 +03:00
altugbakan
66f479e8bc
Add better error handling and messages
2023-03-13 20:05:24 +03:00
Altuğ Bakan
81fc120235
Create workflow
2023-03-13 20:04:15 +03:00
altugbakan
84527f88ea
Update help casing
2023-03-12 16:56:12 +03:00
altugbakan
95d344f491
Small typo fix
2023-03-12 15:21:16 +03:00
altugbakan
e59aea6dbb
Add README.md and LICENSE.md
2023-03-12 15:14:25 +03:00
altugbakan
5d00df1454
Fix help output
2023-03-12 15:14:18 +03:00
altugbakan
bfb959bca8
Add docstrings
2023-03-12 15:01:41 +03:00
altugbakan
43d2e85a00
Add worker tests
2023-03-11 21:09:15 +03:00
altugbakan
4e77ecadc0
Add Windows path test
2023-03-11 20:54:29 +03:00
altugbakan
a3dd7fecb4
Refactor file path
2023-03-11 20:47:52 +03:00
altugbakan
80bdf7035c
Add serialization tests
2023-03-11 20:29:15 +03:00
altugbakan
181b1107a3
Fix options on write request
2023-03-11 19:23:23 +03:00
altugbakan
0df85e156d
Finish implementation
2023-03-11 17:24:36 +03:00
altugbakan
c345a5b531
Add packet tests
2023-03-09 20:34:06 +03:00
altugbakan
68d05e3a11
Add work on worker and server
2023-03-08 21:12:57 +03:00
altugbakan
3ba7352692
Add overall work
2023-03-07 20:12:42 +03:00
altugbakan
2eb4329201
Add initial packet logic
2023-03-06 22:21:31 +03:00
altugbakan
713cadaaa0
Add server config
2023-03-06 06:40:06 +03:00