Commit Graph
89 Commits
Author SHA1 Message Date
PobreGato 4d88d21fe4 keep service owner of a handler as weak_ptr 2026-08-21 03:18:44 +03:00
orignal faceb81e5d store peerid as array<int8_t, 20> 2026-08-20 16:49:12 -04:00
orignal c464814c46 reset peers stats when torrent complete 2026-08-20 09:26:18 -04:00
orignal b5c2e7d9ea send interested if we sent max requests before 2026-08-19 21:01:50 -04:00
orignal 3740e8dc6f count and report num dowloading from/uploading to peers 2026-08-19 09:20:29 -04:00
orignal 659a894115 smoother upload rate calculation 2026-08-18 21:28:47 -04:00
orignal 4f138ac630 collect and return unload/download rate stats 2026-08-18 20:53:38 -04:00
orignal 8887afe260 implemented remove torrent and torrent-remove RPC 2026-08-18 09:29:01 -04:00
orignal fad3294ed3 handle torrent-get RPC 2026-08-17 16:34:52 -04:00
orignal 4dd8577731 implemented torrent-add RPC 2026-08-16 14:48:11 -04:00
orignal 680f781b8c create .torrent fiel and torrent data files if added from RPC 2026-08-16 09:06:11 -04:00
orignal 5b29636395 torrent-add RPC request 2026-08-16 06:50:23 -04:00
orignal dfcb8a8043 handle interested flag 2026-08-14 15:21:44 -04:00
orignal a74719e2ba send interested back to have message only if choked 2026-08-14 11:00:15 -04:00
orignal c3f8c762cc try to request blocks again for stalled connection 2026-08-14 09:23:42 -04:00
orignal e2a1b6d7e5 try to request block from piece requested by another connection if no other pieces available 2026-08-13 21:29:48 -04:00
orignal 8b9bc39b4d drop duplicated, later on unsolicited blocks 2026-08-13 17:49:17 -04:00
orignal 25a2c4bc60 create full path from m_TorrentsPath 2026-08-13 13:35:40 -04:00
orignal 793f4ff0a5 fixed typo 2026-08-13 10:56:22 -04:00
orignal 979fb94c31 collect .torrent fiels from torrents fir using std::filesystem::directory_iterator 2026-08-13 10:35:15 -04:00
orignal dae730250f use std::filesystem::path for file pathes 2026-08-13 10:09:03 -04:00
orignal a5e8c63445 send choke if too many queued requests 2026-08-12 19:34:46 -04:00
orignal 7a56924ebd closed connections with seeds when comlete. Count uploaded 2026-08-12 14:46:38 -04:00
Dimitris Apostolou ea423cbe6f fix typos 2026-08-12 19:27:06 +03:00
orignal 8fb4f0b200 don't load same piece twice 2026-08-12 11:08:33 -04:00
orignal 98f786616a add .i2p to ip parameter sent to tracker 2026-08-12 10:39:58 -04:00
orignal f00758d853 multi-files torrents 2026-08-11 22:00:38 -04:00
orignal e9fa8d0477 report actual left to tracker. send event=completed when torrent get completed 2026-08-11 08:45:29 -04:00
orignal 4934a2e036 allow partially save and load piece 2026-08-10 20:28:57 -04:00
orignal 4156005c49 handshake receive timeout 2026-08-10 15:42:13 -04:00
orignal 2333d39851 read file path as list of subdirs 2026-08-10 10:26:52 -04:00
orignal a743eaeed9 request rarest pieces first 2026-08-09 18:32:32 -04:00
orignal b53951c167 read files list from .torrent file 2026-08-09 15:05:51 -04:00
orignal ab03c745a8 release requested piece if connection got closed 2026-08-09 11:27:27 -04:00
orignal 71cec86bf7 don't connect to peers and set numwant to 0 when seeding 2026-08-09 09:12:47 -04:00
orignal 8fa6896328 torrent download completion. correct last piece size 2026-08-08 22:12:04 -04:00
orignal 314af9e4ba up to 4 pieces in send buffer 2026-08-08 18:33:56 -04:00
orignal cfcc88029c send intersted when have message received and notinterested if no more blocks to request 2026-08-08 15:45:03 -04:00
orignal 65c210eb4a send interested/notinterested after receiving have message 2026-08-08 11:31:41 -04:00
orignal 682ce8a270 reset num requests and last requested peer after choke message received 2026-08-08 07:55:49 -04:00
orignal 4ac72b18c8 try to request block from last piece first. Invalidate piece is hash verification failed 2026-08-07 21:52:55 -04:00
orignal e9bc797ba8 try to request piece receive in have message 2026-08-07 17:38:48 -04:00
orignal d717209125 delete piece's data from memory after 1 minute. Request different pieces from different connections 2026-08-07 14:22:53 -04:00
orignal bc9aba65c8 fixed build error 2026-08-06 20:38:27 -04:00
orignal 77f4f22df6 queue up and send piece messages one by one 2026-08-06 18:51:40 -04:00
orignal c0f649bbf8 check if torrent complete before requests 2026-08-05 20:36:00 -04:00
orignal 262f183126 one connection to remote I2P address per torrent. Close connection if no data or keepalive 2026-08-05 19:01:36 -04:00
orignal 5535a17330 show Torrents tunnels on I2P tunnels page 2026-08-05 17:19:49 -04:00
orignal 797deb77b9 open file in correct mode to update piece 2026-08-05 14:11:29 -04:00
orignal adda8acf24 restore bitfield from .resume file 2026-08-04 22:28:41 -04:00