Commit graph

22 commits

Author SHA1 Message Date
Igor Katson
29758c6d8f
Generic peer IP 2024-10-01 09:32:04 +01:00
Ivan
aec1eeef34 Enum pro outgoing addr and some fixes 2024-09-26 19:15:16 +02:00
Ivan
4bd757173d Set outgoing IP address for incomming peers after Ext. handshake 2024-09-26 18:11:05 +02:00
Igor Katson
bafd958d0d
make all fields in utpex optional 2024-08-29 13:01:12 +01:00
Igor Katson
9b5c69f378
Shorten debug for PexPeerInfo 2024-08-28 10:20:58 +01:00
Igor Katson
9d1ef5c35c
Shorten ByteBuf trait bounds everywhere 2024-08-28 10:20:58 +01:00
Igor Katson
c7b7dc300f
impl Debug for UtPex 2024-08-28 10:20:58 +01:00
Igor Katson
90bfb85bcc
Some cleanups for utpex 2024-08-28 10:20:45 +01:00
Ivan
5e09525dd5
Feeding peers from PEX added - PoC 2024-08-28 10:10:34 +01:00
Ivan
bbc951733f
PEX: Announce support and message definition 2024-08-28 10:06:16 +01:00
LIAUD Corentin
35d57ae8a2
feat: add on_piece_completed method on TorrentStorage 2024-08-27 22:00:14 +02:00
Ivan
3c0baacaa7 Fill yourip in extended handshake 2024-08-21 20:00:31 +02:00
Igor Katson
18624d5bd8
More spans 2024-08-18 16:20:26 +01:00
Ivan
19e944a697 Create constant for ut_metadata 2024-08-18 11:59:39 +02:00
Ivan
8dc8c1e35d Implement Borrow<[u8]> for ByteBuf types so they can be properly used in hashmaps 2024-08-18 11:40:04 +02:00
Igor Katson
c7ed475f54
Use bytes crate for zerocopy and memory re-use (#182)
* Use bytes. Not yet zerocopy everywhere but compiles

* Actually zerocopy

* Actually zerocopy

* Not actually storing the torrent on disk now
2024-08-14 12:08:46 +01:00
Igor Katson
ca8989f8e6
Saving 2023-12-05 23:38:05 +00:00
Cyril Plisko
e800bdbcfb clippy::needless_return 2023-08-08 11:04:08 +03:00
Igor Katson
6968a4e449
Cargo clippy: fix the majority of errors 2022-12-08 20:20:23 +00:00
Igor Katson
b2fb4729c7 Fix or disable all failing tests. Fix all cargo clippy warnings 2021-10-18 16:38:43 +01:00
Igor Katson
1cd6caee76 Fix bugs 2021-07-13 13:16:59 +01:00
Igor Katson
ad867e8e3c Move everything to workspaces 2021-07-03 19:10:59 +01:00