Commit graph

74 commits

Author SHA1 Message Date
Igor Katson
bc5e23bf6d
fixing cargo publish 2025-01-06 17:38:36 +00:00
Igor Katson
731710245f
Fixups 2025-01-06 16:04:46 +00:00
Igor Katson
7864876087
Update subcrates and versions 2025-01-06 15:27:44 +00:00
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
52ca07fe41
Cargo upgrade all deps 2024-08-28 11:44:01 +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
Igor Katson
a825115472
Preparing for v7.0.0 release 2024-08-27 17:55:27 +01:00
Igor Katson
01a4f68e20
Make rust-tls work (through ring) 2024-08-27 15:11:59 +01: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
06c6bf4487
Preparing for v7.0.0-beta.1 2024-08-19 17:29:22 +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
30de55d3bc
Prepare 7.0.0-beta.0 2024-08-15 14:46:26 +01: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
183572b695
Upgrade deps 2024-08-06 13:49:03 +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
5dbba806c7
5.6.1 versioning fixups 2024-04-23 23:16:45 +01:00
Igor Katson
511e64751c Handling MSGID_CANCEL just in case 2024-04-07 22:45:47 +01:00
Igor Katson
7ec76fc5d4 Update subcrates 2024-04-07 10:56:06 +01:00
Igor Katson
8402a821ad
Prepare for 5.5.4 (#107) 2024-03-29 21:06:59 +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
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
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
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
a641717245
Preparing for 5.0.0 release 2023-12-07 12:35:24 +00:00
Igor Katson
d258a9afe2
Processing cancel messages 2023-12-06 23:25:52 +00:00
Igor Katson
14d7ee04ea
Prepare for publishing new crates 2023-12-06 01:18:25 +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