Igor Katson
bb0f3c36ec
Merge pull request #106 from ikatson/resilience-to-bogus-peers
...
Fix resilience to bogus peers
2024-03-29 20:46:37 +00:00
Igor Katson
ef44f104a5
disconnect peers that send bad data
2024-03-29 20:40:05 +00:00
Igor Katson
cee66309d0
Fix malicious peer checking that was broken all this time (it didnt trigger)
2024-03-29 20:33:16 +00:00
Igor Katson
048f4d1645
Add bogus peer simulation to e2e tests
2024-03-29 20:32:08 +00:00
Igor Katson
2ef5124a2d
Nothing
2024-03-29 20:16:44 +00:00
Igor Katson
07bd9dec83
Remove sha1 extra features ( #105 )
...
Remove all extra sha1 features
2024-03-29 15:57:30 +00:00
Igor Katson
8e77f20a5a
Merge pull request #104 from ikatson/better-eta
...
Fix ETA computation - fixes #92
2024-03-29 14:07:14 +00:00
Igor Katson
2b3980e40a
Better ETA
2024-03-29 13:51:11 +00:00
Igor Katson
051e450c6f
Merge pull request #103 from ikatson/small-refactor-attempt-2
...
A few small tweaks and cleanups
2024-03-29 13:50:38 +00:00
Igor Katson
c481f77354
Rename generic bounds for clarity
2024-03-29 13:44:30 +00:00
Igor Katson
fa05fe8376
Box<[u8]> instead of Vec<u8> for ByteBufOwned
2024-03-29 13:44:10 +00:00
Igor Katson
3cdf6d4cfc
Merge pull request #102 from ikatson/test-pr-for-tests
...
Nothing
2024-03-29 13:21:36 +00:00
Igor Katson
2a37fe3fcb
Nothing
2024-03-29 13:07:27 +00:00
Igor Katson
f42de46878
Revert "Box<[u8]> instead of Vec<u8> for ByteBufOwned"
...
This reverts commit deee41cd93 .
2024-03-29 13:00:57 +00:00
Igor Katson
e862d34cb4
Revert "Rename generic bounds for clarity"
...
This reverts commit 8870fb2d5f .
2024-03-29 13:00:54 +00:00
Igor Katson
88b436a6dd
Revert "Fix a bug after latest PR"
...
This reverts commit 3942483f25 .
2024-03-29 13:00:50 +00:00
Igor Katson
ecb55ed32a
Revert "Another attempt to fix bugs"
...
This reverts commit 2004e7b21f .
2024-03-29 13:00:38 +00:00
Igor Katson
2004e7b21f
Another attempt to fix bugs
2024-03-29 12:57:29 +00:00
Igor Katson
3942483f25
Fix a bug after latest PR
2024-03-29 12:34:13 +00:00
Igor Katson
a58e924bfa
Merge pull request #101 from ikatson/small-refactor-03-29
...
A couple renames and cleanups in buffers crate
2024-03-29 12:25:22 +00:00
Igor Katson
8870fb2d5f
Rename generic bounds for clarity
2024-03-29 12:19:15 +00:00
Igor Katson
deee41cd93
Box<[u8]> instead of Vec<u8> for ByteBufOwned
2024-03-29 11:00:58 +00:00
Igor Katson
d9ec702f59
Remove panics in bencode serialization
2024-03-29 09:55:28 +00:00
Igor Katson
4d6b5181eb
Prepare v5.5.3 ( #98 )
...
* Forgot to commit version updates
* Cargo.toml 5.5.3
* Cargo.lock
* Tag desktop 5.5.3
* Update deps
2024-03-25 13:40:04 +00:00
Igor Katson
24feb60001
Merge pull request #97 from anacrolix/option-announce
...
Make the announce info field optional
2024-03-24 09:03:11 +00:00
Matt Joiner
b184354c2f
Make the announce info field optional
2024-03-24 18:27:08 +11:00
Igor Katson
00c7f3150f
Merge pull request #96 from kpcyrd/packaging
...
README: Add repology packaging status
2024-03-22 14:17:06 +00:00
kpcyrd
7230937101
README: Add repology packaging status
2024-03-22 15:06:49 +01:00
Igor Katson
cf2f9f34e8
Update dependencies ( #94 )
...
* Update deps
* Pin clap to older
* pin clap complete
2024-03-22 09:02:25 +00:00
Igor Katson
a6a3a3aba3
Merge pull request #91 from kpcyrd/completions
...
Add command for shell completions
2024-03-15 11:45:39 +00:00
kpcyrd
0f1ba8f5fe
Add command for shell completions
2024-03-15 11:40:39 +01:00
Igor Katson
8b4f3afa42
Update handshake deserialize to error on wrong messages
2024-03-09 19:56:34 +00:00
Igor Katson
5a12095959
Update handshake deserialize to error on wrong messages
2024-03-09 19:50:28 +00:00
Igor Katson
56527ae8d7
Bump all e2e test timeouts 3x
2024-03-05 02:00:43 -08:00
Igor Katson
25cd3c75cc
Tests now compile but take too long on github actions
2024-03-05 01:53:41 -08:00
Igor Katson
b8611fdaf4
Fix compilation on win
2024-03-05 01:40:54 -08:00
Igor Katson
2778d46bb3
End-to-end unit test ( #90 )
...
* First implementation of create_torrent_file
* Test harness for e2e preparing
* Saving
* Continuing test harness
* Continuing test harness
* Continuing test harness
* All servers are running
* Full e2e harness done
* Test e2e harness working fine
* Remove lints
* injecting faults
* The e2e test runs continuously
* e2e test
* Add a test for create_torrent
* Nothing
* Nothing, just tweaking the numberes
* Update tokio, remove custom tempfile shim
2024-03-05 09:18:22 +00:00
Igor Katson
5d6ecb8065
Tiny refactor for stream types
2024-03-02 11:18:38 +00:00
Igor Katson
466cad06e0
Make a stream merging function
2024-03-02 11:12:08 +00:00
Igor Katson
3a1d0c3ac9
Tiny refactor: simplify a few methods by removing initial_peers propagated too deep down
2024-03-02 10:57:32 +00:00
Igor Katson
8f711ed2e7
Merge pull request #89 from ikatson/report-size-to-trackers
...
Report size to trackers
2024-03-01 08:01:43 +00:00
Igor Katson
a6ebecee97
Report size to trackers
2024-03-01 07:54:27 +00:00
Igor Katson
5488e1d40f
Split up a couple large functions
2024-02-28 20:27:45 +00:00
Igor Katson
340d54eafa
tiny: do not announce if starting paused
2024-02-28 20:06:02 +00:00
Igor Katson
8594a477ee
Update README.md
2024-02-27 19:16:56 +00:00
Igor Katson
62345ed687
Update README.md
2024-02-27 19:11:32 +00:00
Igor Katson
ba1c52644a
5.5.1
2024-02-27 18:58:59 +00:00
Igor Katson
cbbbce2ec4
Merge pull request #86 from ikatson/less-spawns-async-stream
...
Reduce incremental compile times a bit + small refactorings
2024-02-27 08:27:33 +00:00
Igor Katson
6fafdc16da
Nothing
2024-02-27 08:25:10 +00:00
Igor Katson
3cecb1a4c3
Remove pin<box further
2024-02-27 08:17:15 +00:00