Commit Graph

3406 Commits

Author SHA1 Message Date
Arvid Norberg a9cc2101c6 fixed bug with setting and getting file priorities 2011-05-01 17:43:15 +00:00
Arvid Norberg 449733d518 logging fixes 2011-05-01 08:58:45 +00:00
Arvid Norberg eaea22be71 make torrent priority stricly prefer unchoking peers on high priority torrents 2011-04-30 20:33:35 +00:00
Arvid Norberg e07e8b2f98 fixed connection limit to take web seeds into account as well 2011-04-30 20:05:23 +00:00
Arvid Norberg 0eb7505ad9 fix race condition when resolving the hostname of a web seed and removing it 2011-04-29 08:09:03 +00:00
Arvid Norberg 90719bf77d fixed bug when receiving a have message before having the metadata 2011-04-29 02:45:02 +00:00
Arvid Norberg 2ab17b7a51 handle incoming invalid piece messages sizes 2011-04-28 08:55:27 +00:00
Arvid Norberg 58ea6f5b3c don't start the next checking torrent when the session is paused 2011-04-28 07:54:57 +00:00
Arvid Norberg c4761e3922 proper seed mode fix 2011-04-28 07:32:42 +00:00
Arvid Norberg bbde8f772a fix bug in seed mode when a piece fails hash check 2011-04-28 06:36:44 +00:00
Arvid Norberg 4fcb26c8ad revert file_too_short error message, since it breaks checking 2011-04-28 04:31:45 +00:00
Arvid Norberg ebd116cce3 clean up disk callbacks a bit with regards to whether the torrent is still alive 2011-04-28 03:23:14 +00:00
Arvid Norberg dab3d5706f for high performance preset, support accepting many connections simultaneously 2011-04-27 08:06:44 +00:00
Arvid Norberg 1723e2d4f7 don't time out peers as long as we can upload to them 2011-04-27 08:05:37 +00:00
Arvid Norberg 810ce884fb always post cache_flushed_alert when removing a torrent 2011-04-26 16:26:53 +00:00
Arvid Norberg 2eff66c9b0 removed invalid assert 2011-04-26 16:22:21 +00:00
Arvid Norberg 5811e9eef8 small hint_read issue 2011-04-26 08:08:54 +00:00
Arvid Norberg 83fe560aa2 fixed uninitialized stats logger 2011-04-26 07:05:26 +00:00
Arvid Norberg e389f5963d added support for fadvise/F_RDADVISE for improved disk read performance 2011-04-26 07:03:05 +00:00
Arvid Norberg 29ce1a3704 improve file_too_short error message 2011-04-25 06:02:19 +00:00
Arvid Norberg d0af936933 don't turn off read-ahead by default on files. Might impact hash checking 2011-04-25 02:15:18 +00:00
Arvid Norberg 990de1c243 fix windows build issue (one more try) 2011-04-25 02:01:36 +00:00
Arvid Norberg 1deeb98898 prefer purging peer entries that are not connectable 2011-04-25 00:13:30 +00:00
Arvid Norberg 6e7de92859 we need backtraces for asio-debugging as well 2011-04-24 23:32:02 +00:00
Arvid Norberg 2add9d193a fix issue of adding duplicate incoming connections indefinitely to peer list when allow_multiple_connections_per_ip is enabled 2011-04-24 23:26:54 +00:00
Arvid Norberg 7d5df3eaa9 remove invalid assert 2011-04-24 23:08:23 +00:00
Arvid Norberg a5c0fd7210 fix potential overflow in stats averaging 2011-04-22 08:12:19 +00:00
Arvid Norberg 573a291495 first step to remove recursion in bandwidth channel 2011-04-21 03:13:53 +00:00
Arvid Norberg 86d52bbe13 include info-hash in torrent_status and post event when disk cache is fully flushed when deleting a torrent 2011-04-19 08:21:09 +00:00
Arvid Norberg a15b23f8e8 fixed bug in buffer debug code in allocator 2011-04-17 08:39:52 +00:00
Arvid Norberg 8e92cad2db fixed bug in avoid_readback disk cache eviction algorithm 2011-04-17 05:33:33 +00:00
Arvid Norberg caed433cc7 make it possible to derive from default_storage class 2011-04-16 22:58:11 +00:00
Arvid Norberg e2d3e7c300 removed invalid assert 2011-04-16 19:25:39 +00:00
Arvid Norberg 554812f0ab improve buffer debugging by logging the call stack of where it was allocated and freed from 2011-04-15 08:37:27 +00:00
Arvid Norberg a7b8ae9e27 fixed BSD file allocation issue 2011-04-13 06:54:56 +00:00
Arvid Norberg 6a9865b7c9 fix invariant check for graceful pause 2011-04-11 02:57:32 +00:00
Arvid Norberg 35d8f7bc19 fix assert when checking multiple torrents and pausing session 2011-04-10 22:05:28 +00:00
Arvid Norberg c0f2d5186f added option to replace trackers or add trackers when loading trackers from resume data 2011-04-10 21:33:29 +00:00
Arvid Norberg 0c28a3e3ca fixed bug in session::delete_files option to remove_torrent 2011-04-10 20:35:45 +00:00
Arvid Norberg 381f42bcf2 fix mingw build 2011-04-10 03:45:13 +00:00
Arvid Norberg bcd44536a8 stack SOCKS5 UDP header buffer needs to fit at least 22 bytes 2011-04-10 02:29:35 +00:00
Arvid Norberg 3435da235d make is_upload_only() be accurate and deal with super seeding special case only where necessary. Fix pointless assert in invariant check 2011-04-09 23:57:56 +00:00
Arvid Norberg 087e4a3fdc fixed msvc build 2011-04-09 21:04:02 +00:00
Arvid Norberg e5720eafd8 fix crash in udp_socket when using SOCKS5 proxy 2011-04-09 17:59:00 +00:00
Arvid Norberg 8aae74ea03 make enum_net use feature ifdefs instead of platform ifdefs 2011-04-09 03:49:46 +00:00
Arvid Norberg 61ceaba6de fix shadowed variable warning 2011-04-08 04:47:26 +00:00
Arvid Norberg 78ef442997 clear log file pointer 2011-04-06 07:58:29 +00:00
Arvid Norberg 35038bc3eb fix rotating logs when enabling and disabling stats logging at run-time 2011-04-06 07:33:10 +00:00
Arvid Norberg 22f20253f8 support turning logging on and off during run-time when built with stats logging 2011-04-06 06:27:42 +00:00
Arvid Norberg f3a7d567a4 fix bug in disk thread and torrent abort functions 2011-04-04 02:57:19 +00:00