Commit Graph

1381 Commits

Author SHA1 Message Date
Arvid Norberg d2706b3600 fixed #122 2007-09-03 22:57:09 +00:00
Arvid Norberg 4e8d49d028 applied patch from #145 2007-09-03 22:27:52 +00:00
Arvid Norberg c6b8b22679 replaced int64_t with size_type for portability 2007-09-03 21:20:28 +00:00
Arvid Norberg 6d40519e66 added support for piece picker to pick multiple pieces (previously it could only pick one piece tops). Made the web_peer_connection always try to make 1 MB requests at a time. added tests to the piece_picker unit test 2007-09-03 21:16:24 +00:00
Arvid Norberg 5fc49a6cf4 fixed typo 2007-09-03 18:18:58 +00:00
Arvid Norberg 8fce18ba8b piece picker improvements and additions to unit test 2007-09-03 07:10:09 +00:00
Arvid Norberg 61c269efee added timeout for interested peers that don't request once they're unchoked. Added support for suggest_piece 2007-09-01 07:38:10 +00:00
Arvid Norberg cd5275f8e6 test fix 2007-09-01 04:43:13 +00:00
Arvid Norberg fd42f3232b upnp more logging and error recovery 2007-09-01 04:08:39 +00:00
Arvid Norberg c8088459a0 made torrent_info reference counted and held by a boost::intrusive_ptr 2007-09-01 03:00:31 +00:00
Arvid Norberg f2c99f4160 fixed piece_picker test 2007-08-28 03:22:15 +00:00
Arvid Norberg e248ba0cdc added asserts to make sure the global connection limit is not exceeded 2007-08-27 16:45:45 +00:00
Arvid Norberg 4aa018484a fixed unchoke counter problem 2007-08-27 16:30:56 +00:00
Arvid Norberg aff2869bed fixed recent change to torrent_info.cpp 2007-08-27 16:12:42 +00:00
Arvid Norberg 056b9709ac updated python bindings 2007-08-27 10:31:35 +00:00
Arvid Norberg 79e0e06fa9 improved bandwidth_limiter test and fixed problem where limits could lead to starvation 2007-08-27 10:20:23 +00:00
Arvid Norberg 890bd646d3 added more piece_picker tests 2007-08-27 10:12:09 +00:00
Arvid Norberg 09429d1871 removed some duplicate data from torrent_info 2007-08-27 07:23:57 +00:00
Arvid Norberg a567f18962 fixed #126 2007-08-27 06:47:08 +00:00
Arvid Norberg bce55bc149 removed expensive invariant checks 2007-08-27 05:32:47 +00:00
Arvid Norberg b6ec8f64cd greatly improved piece picker unit test 2007-08-27 05:13:46 +00:00
Arvid Norberg 86442482d9 piece picker bug fixes 2007-08-27 05:13:09 +00:00
Arvid Norberg b56faf60d1 fixed mutex locking order issue 2007-08-27 01:05:11 +00:00
Arvid Norberg 95129602d9 refactored internal forwarding mechanism for torrent_handle 2007-08-27 00:47:17 +00:00
Arvid Norberg 8b44a25bbb more asserts and tests for the bandwidth_limiter 2007-08-26 23:40:58 +00:00
Arvid Norberg 1a1c060ba3 fixed doc typos 2007-08-25 20:01:53 +00:00
Arvid Norberg c8cb121587 updated torrent_info::remap_files docs 2007-08-25 19:57:32 +00:00
Arvid Norberg 2b0197e810 initial fix to enable mapping files in torrents to other files on disk. see torrent_info::remap_files 2007-08-25 18:26:43 +00:00
Arvid Norberg b6ee4fddbf fixed uninitialized connection ticket 2007-08-25 14:52:48 +00:00
Arvid Norberg 7f43389f56 removed unused class from storage 2007-08-25 14:51:42 +00:00
Arvid Norberg c0ffdc51c7 piece picker fix and bandwidth_limiter typo fix 2007-08-25 05:09:25 +00:00
Arvid Norberg d963625949 added assert to bandwidth_limiter 2007-08-24 02:12:07 +00:00
Arvid Norberg 6885361466 refactored identify_client 2007-08-24 02:11:41 +00:00
Arvid Norberg bf39ba7d72 added clients to identify_client 2007-08-23 19:10:43 +00:00
Arvid Norberg 57f369f1b4 updated docs for torrent_status 2007-08-23 17:34:59 +00:00
Arvid Norberg cc54c242a1 rate limiter fix 2007-08-23 16:49:59 +00:00
Arvid Norberg 9e2367fd13 bandwidth limiter fix 2007-08-22 23:24:06 +00:00
Arvid Norberg a5e985ec7c fixed choke bug 2007-08-22 18:50:53 +00:00
Arvid Norberg f7737cae32 reverted [1488] 2007-08-22 18:40:31 +00:00
Arvid Norberg e009834a18 fixed piece_picker bug 2007-08-22 18:38:48 +00:00
Arvid Norberg 4137c0885a fixed pausing issue introduced in the changed add_torrent 2007-08-22 18:37:20 +00:00
Arvid Norberg 5acf0901ec explained session_status::num_peers in greater detail 2007-08-22 17:49:29 +00:00
Arvid Norberg 7466638231 attempt to fix piece_picker assert 2007-08-22 17:39:57 +00:00
Arvid Norberg c0ed1fa13a fixed default value for paused 2007-08-22 05:37:49 +00:00
Arvid Norberg 744d96796b made it possible to start torrents in paused state. updated documentation 2007-08-22 05:31:42 +00:00
Arvid Norberg ee01d7bb11 added optimistic unchoke flag to client_test 2007-08-22 05:02:45 +00:00
Arvid Norberg 1399b623bc choke count fixes 2007-08-21 21:51:29 +00:00
Arvid Norberg e074b0a977 removed too expensive invariant checks 2007-08-21 19:18:06 +00:00
Arvid Norberg 847f96d9c3 made policy::has_connection not throw 2007-08-21 19:04:27 +00:00
Arvid Norberg b121386492 piece picker fix 2007-08-21 18:39:44 +00:00