Igor Katson
2b3980e40a
Better ETA
2024-03-29 13:51:11 +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
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
deee41cd93
Box<[u8]> instead of Vec<u8> for ByteBufOwned
2024-03-29 11:00:58 +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
a6ebecee97
Report size to trackers
2024-03-01 07:54:27 +00:00
Igor Katson
a001bb8c97
Shorten Pin<Box to BoxFuture
2024-02-27 08:14:39 +00:00
Igor Katson
34f3ec6c29
Inline(never) more things for rqbit(bin) to compile faster
2024-02-26 23:08:47 +00:00
Igor Katson
51dba8ab67
Remove unused field
2024-02-26 08:55:53 +00:00
Igor Katson
f5ccb8632b
Cancellation... It compiles now at least with latest changes, but not sure if they work or are correct
2024-02-18 20:11:12 +00:00
Igor Katson
1582d16cc5
Fix unpause
2024-02-17 21:13:57 +00:00
Igor Katson
95769cca6a
Start calling trackers before going live
2024-02-17 11:14:40 +00:00
Igor Katson
8733538d83
Abstracting tracker comms
2024-02-17 10:51:09 +00:00
Igor Katson
5ff88dcad2
Merge pull request #76 from ikatson/fix-66
...
Fix for #66
2024-01-21 11:06:49 +00:00
Igor Katson
2a60ff2a7f
Remove "previously_requested_pieces"
...
In https://github.com/ikatson/rqbit/issues/66 from a posted stacktrace
it became clear that setting previously_requested_pieces may panic.
I found a place where it was not initialized - in "on_have" callback.
I wanted to fix that + make it less error-prone, however noticed that
previously_requested_pieces isn't used at all anyway, because its use
was removed during one of the recent refactorings.
As things seem to be working fine without it, just removed it to simplify
code.
2024-01-21 10:58:59 +00:00
Igor Katson
c8189de3d2
Merge pull request #72 from jabedude/bep52-magnet-support
...
Add support for BTv2 magnet links
2024-01-08 11:27:27 +00:00
Joshua Abraham
0836b651a7
Add support for BTv2 magnet links
2024-01-07 20:57:10 -06:00
Igor Katson
b808382169
Fix a bug when remarking already have pieces broken
2024-01-02 18:52:00 +00:00
Igor Katson
d5d98aff60
Extract ReadBuf logic into a separate struct
2024-01-02 18:36:07 +00:00
Igor Katson
dfdb6b5fae
Do not ignore errors in reserve_next_needed_piece()
2024-01-02 18:16:16 +00:00
Igor Katson
8cdf44c4fd
Make final stealing less aggressive
2023-12-30 18:27:19 -05:00
Igor Katson
5d4ffae6de
When stealing pieces, only steal from slower peers
2023-12-30 18:27:19 -05:00
Igor Katson
1e525eb91e
Move per-peer piece stats into methods
2023-12-30 18:27:19 -05:00
Igor Katson
325855ba56
Fix only files not working properly ( #59 )
...
* 1/n fixing only files - tracking stats better
* 2/n proper tracking of stats when only certain files selected
2023-12-14 11:58:09 +00:00
Igor Katson
98d6a6f054
Trying to optimize logs JS code
2023-12-09 12:25:14 +00:00
Igor Katson
bed7433d8e
Use tokio_util::CancellationToken everywhere
2023-12-07 10:22:17 +00:00
Igor Katson
d258a9afe2
Processing cancel messages
2023-12-06 23:25:52 +00:00
Igor Katson
3a69f04782
Shorten a log line
2023-12-06 11:50:36 +00:00
Igor Katson
0cd875e740
Incoming peers now respect concurrency limits
2023-12-06 00:39:52 +00:00
Igor Katson
91873ed287
Bump seen counters
2023-12-06 00:26:52 +00:00
Igor Katson
fd17ddc46b
Allow peers to reconnect
2023-12-06 00:16:59 +00:00
Igor Katson
ca8989f8e6
Saving
2023-12-05 23:38:05 +00:00
Igor Katson
b224ed2397
Flush messages before disconnecting (lame)
2023-12-05 22:22:59 +00:00
Igor Katson
5e238419f4
Fix a bug with sending interested
2023-12-05 22:14:55 +00:00
Igor Katson
80df2c1001
Display upload speed in Web UI
2023-12-05 20:52:30 +00:00
Igor Katson
4784f3f14b
Uploading seems to work fine now
2023-12-05 20:31:06 +00:00
Igor Katson
efaa36a161
SAving, its broken
2023-12-05 20:10:09 +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
215bccb89c
Fix build on rust 1.73
2023-12-05 20:08:37 +00:00
Igor Katson
006d83d6a7
Update docs, cleanup for 4.0.0 release
2023-12-03 12:14:50 +00:00
Igor Katson
98d487a5af
external_peer_adder now dies
2023-12-02 14:57:00 +00:00
Igor Katson
f337ab1837
Pass back peers from Web UI when adding a magnet in attempt to speed it up
2023-12-01 09:30:23 +00:00
Igor Katson
210a3d5d3e
Use concrete type for DHT peers
2023-11-30 08:06:55 +00:00
Igor Katson
a5ae2988b8
Downgraded a bunch of messages from debug to trace
2023-11-29 23:45:08 +00:00
Igor Katson
c6b4e78747
Nothing much
2023-11-25 19:20:47 +00:00
Igor Katson
3de67d0902
Can now try to unpause errored torrent
2023-11-25 18:48:23 +00:00
Igor Katson
e3a3f71064
Nothing
2023-11-25 17:13:17 +00:00