Ivan
|
1fa05837fb
|
Include only addresses with known working connections
|
2024-12-04 09:13:39 +00:00 |
|
Ivan
|
3c470e1670
|
Sending PEX - initial concept
|
2024-12-04 09:13:38 +00:00 |
|
Igor Katson
|
438e164ffd
|
Fix clippy errors
|
2024-12-03 20:40:02 +00:00 |
|
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
|
a73f921c5f
|
one line anyhow error formatting
|
2024-09-13 12:36:32 +01: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
|
cd4d812aca
|
Restore Msb0 as Lsb0 is bugged - BEP 003 uses MSB
|
2024-08-20 22:19:37 +01: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
|
b8bbe6a87f
|
Move disk writes to a queue
|
2024-05-03 02:53:52 +04:00 |
|
Igor Katson
|
3d46d7cb97
|
Fix clippy lints related to recent bug
|
2024-04-24 14:19:04 +01:00 |
|
Igor Katson
|
511e64751c
|
Handling MSGID_CANCEL just in case
|
2024-04-07 22:45:47 +01:00 |
|
Igor Katson
|
fa05fe8376
|
Box<[u8]> instead of Vec<u8> for ByteBufOwned
|
2024-03-29 13:44:10 +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
|
deee41cd93
|
Box<[u8]> instead of Vec<u8> for ByteBufOwned
|
2024-03-29 11:00:58 +00: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 |
|
Joshua Abraham
|
0836b651a7
|
Add support for BTv2 magnet links
|
2024-01-07 20:57:10 -06:00 |
|
Igor Katson
|
d258a9afe2
|
Processing cancel messages
|
2023-12-06 23:25:52 +00:00 |
|
Igor Katson
|
ca8989f8e6
|
Saving
|
2023-12-05 23:38:05 +00:00 |
|
Igor Katson
|
65c69f576b
|
Code fully compiles for processing incoming peers
|
2023-12-05 20:10:09 +00:00 |
|
Igor Katson
|
9c7cf61e1a
|
Handshake clone to owned
|
2023-12-05 20:10:09 +00:00 |
|
Igor Katson
|
adb98a2d89
|
Add more docs
|
2023-11-19 22:06:41 +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
|
ae847ce99c
|
Upgrade deps
|
2022-12-04 13:12: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
|
f739c99dc0
|
Update readme
|
2021-10-18 13:11:45 +01:00 |
|
Igor Katson
|
1cd6caee76
|
Fix bugs
|
2021-07-13 13:16:59 +01:00 |
|
Igor Katson
|
6eef3b9b66
|
A small refactor
|
2021-07-12 21:59:08 +01:00 |
|
Igor Katson
|
44c760bcc2
|
Nothing
|
2021-07-04 14:38:44 +01:00 |
|
Igor Katson
|
ad867e8e3c
|
Move everything to workspaces
|
2021-07-03 19:10:59 +01:00 |
|