Commit Graph
55 Commits
Author SHA1 Message Date
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
orignal 0f847655ee save partially donwloaded torrent to .part/.resume files 2026-08-04 21:24:47 -04:00
orignal c39ce4d87c implement GetNonConnectedPeers. Reconnect timer 2026-08-04 18:18:46 -04:00
orignal 6246c4f9d3 close stream after HTTP response 2026-08-04 09:35:51 -04:00
orignal 57874dafb6 disseminate have message once piece complete 2026-08-03 21:38:59 -04:00
orignal 935f3f9878 send correct index and offset in request 2026-08-03 19:40:11 -04:00
orignal 9dc99b9ecc multiple requests at the time 2026-08-03 17:35:37 -04:00
orignal 73d2ff7f44 send inetersted message after receiving bitfield 2026-08-03 11:59:21 -04:00
orignal ffd3101241 handle choke and unchoke messages 2026-08-02 22:11:02 -04:00
orignal 1a4e820379 request next block 2026-08-02 21:43:14 -04:00
orignal ee50116dbc connect to peers and send keep-alive 2026-08-02 15:13:12 -04:00
orignal 844ecec004 fixed warning 2026-07-27 15:20:35 -04:00
orignal ee64f13e91 separate thead for disk I/O operations 2026-07-27 14:05:59 -04:00
orignal 672f9c0197 handle have message 2026-07-26 21:21:21 -04:00
orignal 2f635b2ce7 send correct numwanted to tracker 2026-07-26 17:31:17 -04:00
orignal 178138e87e info_hash in url format. Host and User-Agent in request 2026-07-26 15:55:30 -04:00
orignal 8101ae4c31 specify params in GET query 2026-07-26 14:13:34 -04:00
orignal e5d358931d pass trackers list to TorrentsTunnel 2026-07-25 18:43:12 -04:00
jpk68 16c516d2d1 chore: fix several memory safety issues 2026-07-24 23:00:12 -04:00
orignal 92ec218a8d pass bytes_transferred to AsyncSend callback 2026-07-23 11:24:10 -04:00
orignal db701c7928 moved BoostAsyncStream to BoostStream.h 2026-07-22 14:33:26 -04:00
orignal 5a96f4d7fb request piece. keep-alive 2026-07-21 18:50:44 -04:00
orignal 12da23e2f8 use boost::beast to connect to tracker 2026-07-20 15:47:23 -04:00
orignal bb78946160 schedule tracker request 2026-07-17 14:17:32 -04:00
orignal 1415e91b20 use boost::dynamic_bitset for bitfield. Handle HaveAll and HaveNone messages 2026-07-16 17:41:07 -04:00
orignal f8ed94bf83 use boost::dynamic_bitset for block's bits in pieces 2026-07-16 10:27:38 -04:00
orignal 8971c22c16 list of connections per piece. send bitfield 2026-07-15 20:37:28 -04:00
orignal 0c88969e4a create and save bitfield from pieces 2026-07-14 16:13:15 -04:00
orignal d97d272653 parse compact tracker response 2026-07-13 18:23:58 -04:00
orignal af1106eb56 handle request message 2026-07-13 13:56:49 -04:00
orignal d4448ee08d handle Piece message 2026-07-12 20:46:56 -04:00
orignal b44128f801 handle Bitfield message 2026-07-12 16:12:56 -04:00
orignal e8420b422c connect to peer. send handshake 2026-07-12 11:49:43 -04:00
orignal ef5eea9286 incoming peer connections 2026-07-11 10:14:19 -04:00
orignal 593b4b52e5 common BEncoded parser 2026-07-09 08:48:33 -04:00