Commit Graph
912 Commits
Author SHA1 Message Date
orignal e2c2cc080f check length field for each file 2026-09-18 08:04:37 -04:00
orignal 9e6c54ece8 check next peer string length 2026-09-17 22:02:46 -04:00
orignal 2e179f3c62 check next peer string length 2026-09-17 21:39:23 -04:00
orignal ec452bfffb numeric torrent error code. Limit torrent length by 1Pb 2026-09-17 20:30:00 -04:00
orignal 4b5bea5ee4 check if piece length is within 16K-64M. Return error through RPC 2026-09-17 18:25:04 -04:00
orignal 0e0733df97 check piece's next hash string length 2026-09-17 16:55:20 -04:00
orignal 17e61f81bf reject request if requested block is beyond piece size 2026-09-17 16:03:50 -04:00
orignal 52b31b55ad close connection if unexpected message length received 2026-09-17 14:46:05 -04:00
orignal 86cbb4b0de decline new session if previous one with same destination is being terminated 2026-09-17 14:30:37 -04:00
orignal be27640ac6 calculate peer activity based on interested and choked flags 2026-09-17 08:21:11 -04:00
orignal 92878bd7a5 add header if table format only 2026-09-16 20:04:53 -04:00
orignal 409ef37058 return only available field in torrent-get table header 2026-09-16 20:01:35 -04:00
orignal 0ef4ade8bf return only available field in torrent-get table header 2026-09-16 19:59:22 -04:00
orignal c0f6c79d8a add table header to torrent-get response 2026-09-16 18:25:05 -04:00
orignal d1859f9f94 handle torrent-get with table format 2026-09-16 18:11:09 -04:00
orignal 43a8f0981a exlclude duplicated trackers with same host and b32 address 2026-09-16 17:26:00 -04:00
orignal 5d05e782dc exlclude duplicated trackers with same host 2026-09-16 16:49:26 -04:00
orignal 25b5c9d2e5 delete .torrent and .resume files regardless deleteFiles param 2026-09-16 11:21:02 -04:00
orignal 87340e65db Merge pull request #2557 from jpk68/add-checks
fix: missing checks and limits
2026-09-16 09:00:11 -04:00
jpk68 5e93f74e19 fix: missing checks and limits 2026-09-16 08:47:15 -04:00
orignal 99eab7aceb don't set next tracker requst time for unused tracker 2026-09-15 22:12:23 -04:00
orignal 77a143f012 handle fileStats torrent-get field 2026-09-15 21:43:44 -04:00
orignal 179fdf7998 don't include non-I2P announces to trackers list 2026-09-15 21:21:31 -04:00
orignal 8c833634ca add tracker from torrent's announce 2026-09-15 19:19:00 -04:00
orignal 80a3f99a61 count being sent pieces for incoming requests queue 2026-09-15 17:55:15 -04:00
orignal ca984618af delete orphaned connection 2026-09-15 14:24:09 -04:00
orignal 79a4d7496b update piece's buffer after it gets loaded 2026-09-15 08:52:27 -04:00
orignal 35804abf50 collect torrent data for torrent-get in torrent's thread 2026-09-14 20:21:28 -04:00
orignal bc4dc2b272 send reject request if loaded block cann't be sent 2026-09-14 17:28:00 -04:00
orignal 952f5aad9e open seeded file in read-only mode 2026-09-14 10:11:42 -04:00
orignal 5925c58b6a fixed build with older version of clang 2026-09-14 07:57:03 -04:00
orignal 3c45d154b9 don't close file after each save/load operation 2026-09-13 21:34:02 -04:00
orignal 2ff4eb7c57 calculate stats in real time 2026-09-13 19:09:36 -04:00
orignal b8a1c56d25 use TorrentFile struct for files. Common logic for single and multiple files 2026-09-13 18:38:45 -04:00
orignal 4b42c6b76a recoonect peers from different torrents after random intervals 2026-09-13 15:19:28 -04:00
orignal d72ae7a3dc remove peer from torrent on termination. Always run reconnect timer 2026-09-13 11:33:03 -04:00
orignal aee00c1984 don't try to peer if pending connection. Request trackers right away when torrent was added 2026-09-13 10:01:52 -04:00
orignal d7e3750fd3 pause between stop and deletion of torrents tunnel 2026-09-13 08:04:39 -04:00
orignal 1d96c2ac69 tribool local bitfield state. Delete .resume file after receiving last piece 2026-09-12 21:59:04 -04:00
orignal 13925712f8 check if stream is still alive in callback 2026-09-12 16:44:48 -04:00
orignal 181027c3b0 let tunnels finish thier tasks on stop 2026-09-12 15:46:10 -04:00
orignal 3630a57054 take non connected peers from torrent 2026-09-12 12:33:14 -04:00
orignal 95f251fdcb only one peer connection with destination per torrent 2026-09-12 11:03:33 -04:00
orignal d5a6c93d3d close all active seesions on stop. Check if .part file exists before renaming 2026-09-12 11:01:34 -04:00
orignal 8edd903a79 clean up pieces of seeding torrent. Update torrent status in random intervals 2026-09-12 08:17:17 -04:00
orignal c740ea579c fixed possible memory leak 2026-09-11 15:13:39 -04:00
orignal aa06c8144f decode url from tracker param 2026-09-11 11:32:34 -04:00
orignal 2d185a508e decode url from magnet's display name param 2026-09-11 09:46:05 -04:00
orignal 3bf919b780 close connections after receiving info if they didn't have it by handshake 2026-09-10 22:10:18 -04:00
orignal e0fcfb3507 notify existing peers about new incoming peer 2026-09-10 15:30:44 -04:00