Arvid Norberg
|
c798ab30e1
|
rewrote the piece picker to be more cpu and memory efficient. replaces the concept of sequential-download-threshold with just a sequential download settings
|
2008-01-31 17:52:29 +00:00 |
Arvid Norberg
|
68a388da19
|
piece picker fix (#228)
|
2007-12-16 01:35:42 +00:00 |
Arvid Norberg
|
b3c40ea7e8
|
piece picker assert fix
|
2007-11-04 19:10:58 +00:00 |
Arvid Norberg
|
ddc9511bbb
|
removed useless asserts that triggered warnings on intel
|
2007-10-09 02:34:05 +00:00 |
Arvid Norberg
|
966800cd5b
|
replaced the assert macro to TORRENT_ASSERT instead of hi-jacking assert.
|
2007-10-05 00:30:00 +00:00 |
Arvid Norberg
|
902a94d6fd
|
fixed typo
|
2007-09-17 06:35:23 +00:00 |
Arvid Norberg
|
1502080542
|
piece picker fix and extra asserts and diagostics output (in case of errors)
|
2007-09-17 00:37:45 +00:00 |
Arvid Norberg
|
3a11c3bfad
|
broadcast socket and piece_picker fix
|
2007-09-15 20:20:07 +00:00 |
Arvid Norberg
|
73bb0c05ad
|
added 'incoming' peer source
|
2007-09-15 20:17:23 +00:00 |
Arvid Norberg
|
80aee32972
|
fixed piece picker problem when a downloading piece could not be picked with the right speed category
|
2007-09-10 08:07:18 +00:00 |
Arvid Norberg
|
4fcdea4172
|
piece picker fix
|
2007-09-09 23:46:28 +00:00 |
Arvid Norberg
|
0d6970168d
|
piece picker updates
|
2007-09-06 18:30:46 +00:00 |
Arvid Norberg
|
fb401d2499
|
added asserts to piece_picker
|
2007-09-06 08:20:11 +00:00 |
Arvid Norberg
|
e76de2edbc
|
fixed typo
|
2007-09-06 01:32:29 +00:00 |
Arvid Norberg
|
7cd29ca371
|
piece picker updates and more tests
|
2007-09-05 23:32:05 +00:00 |
Arvid Norberg
|
24b57d62c8
|
piece picker fixes and optimizations (requires more tests in unit tests)
|
2007-09-05 21:21:11 +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
|
8fce18ba8b
|
piece picker improvements and additions to unit test
|
2007-09-03 07:10:09 +00:00 |
Arvid Norberg
|
86442482d9
|
piece picker bug fixes
|
2007-08-27 05:13:09 +00:00 |
Arvid Norberg
|
c0ffdc51c7
|
piece picker fix and bandwidth_limiter typo fix
|
2007-08-25 05:09:25 +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
|
7466638231
|
attempt to fix piece_picker assert
|
2007-08-22 17:39:57 +00:00 |
Arvid Norberg
|
b121386492
|
piece picker fix
|
2007-08-21 18:39:44 +00:00 |
Arvid Norberg
|
8ce61ab04a
|
added asserts to piece_picker
|
2007-08-21 18:17:31 +00:00 |
Arvid Norberg
|
da525292fe
|
some more asserts
|
2007-08-19 08:23:44 +00:00 |
Arvid Norberg
|
b62bb7944f
|
merged fast-extension => trunk. the fast extension branch is now closed
|
2007-08-14 17:47:48 +00:00 |
Arvid Norberg
|
6e78b6b824
|
optimization to only update peer interests in case a piece was filtered/unfiltered during a priority call
|
2007-08-10 21:13:35 +00:00 |
Arvid Norberg
|
8387240b31
|
more asserts, piece_picker fixes, debug-iterator fixes
|
2007-08-03 06:13:26 +00:00 |
Arvid Norberg
|
a630756fae
|
more _SECURE_SCL related fixes
|
2007-07-24 15:48:06 +00:00 |
Arvid Norberg
|
1acedb39dc
|
prioritize more complete partial pieces over less complete ones
|
2007-07-15 15:41:55 +00:00 |
Arvid Norberg
|
329f73276f
|
fixed #82
|
2007-07-15 05:32:56 +00:00 |
Arvid Norberg
|
82e1160214
|
introduced a non-rarest-first option to the piece picker that is used to pick the very first pieces in a torrent
|
2007-07-07 01:26:30 +00:00 |
Arvid Norberg
|
a3e66a3efe
|
made the piece picker handle multi-request blocks better. fixes problem that might occur at the end of a torrent where the piece picker could take over blocks back and forth
|
2007-07-06 17:15:35 +00:00 |
Arvid Norberg
|
f90a80ab05
|
made piece picker less anal about speed categories, to improve performance
|
2007-07-05 22:49:28 +00:00 |
Arvid Norberg
|
3bdf01778a
|
chamged peer representation from tcp::endpoint to policy::peer pointer in piece_picker's downloading piece. Saves memory, removes the need for lookup and improves the hash check fail/pass handling for closed connections
|
2007-07-04 02:16:49 +00:00 |
Arvid Norberg
|
3b8670626a
|
merged back async_io branch into trunk
|
2007-06-10 20:46:09 +00:00 |
Arvid Norberg
|
14a15831ef
|
exposed piece availability vector
|
2007-05-30 06:52:59 +00:00 |
Arvid Norberg
|
8392276975
|
speed categories are now disabled before 1% of the pieces have been downloaded
|
2007-05-14 10:54:18 +00:00 |
Arvid Norberg
|
6dcca9250b
|
optimized heap allocations in piece_picker. #42
|
2007-05-09 00:49:13 +00:00 |
Arvid Norberg
|
4956639171
|
piece picker optimization
|
2007-05-08 11:13:13 +00:00 |
Arvid Norberg
|
f942308ccb
|
added extra assert to piece picker
|
2007-05-03 21:28:31 +00:00 |
Arvid Norberg
|
b9cdfc2771
|
fixed bug in piece_picker
|
2007-05-03 19:25:18 +00:00 |
Arvid Norberg
|
577bda5266
|
removed old code from piece picker and fixed set_priority to not tamper with the download queue
|
2007-05-03 18:38:57 +00:00 |
Arvid Norberg
|
9f1a11aa50
|
regenerated documentation. fixed a few warnings. fixed a bug in recent check in in piece picker
|
2007-04-27 16:26:30 +00:00 |
Arvid Norberg
|
4afe9712e0
|
improvements to the piece picker with regard to recently introduced categories
|
2007-04-27 02:33:59 +00:00 |
Arvid Norberg
|
ee1681e2cb
|
added peer/piece categories to the piece picker. fixes #18
|
2007-04-27 00:27:37 +00:00 |
Arvid Norberg
|
094dc1065c
|
some boost 1.34 preprocessor conditions and fixed assert in piece_picker
|
2007-04-23 17:14:40 +00:00 |
Arvid Norberg
|
a35c1ef1a5
|
piece picker fix
|
2007-04-19 02:54:46 +00:00 |
Arvid Norberg
|
60ddb5c64a
|
piece_picker fix
|
2007-04-18 20:40:41 +00:00 |
Arvid Norberg
|
16e17f066c
|
first stab at sparse files support
|
2007-04-17 21:54:40 +00:00 |
Arvid Norberg
|
067219d14a
|
made downloading pieces higher priority. fix in piece picker when blocks in prio 0 pieces were marked as finished
|
2007-04-17 09:21:53 +00:00 |
Arvid Norberg
|
34473aad1b
|
fixed bug in recent piece picker optimization when used in combination with sequenced download threshold
|
2007-04-17 00:20:39 +00:00 |
Arvid Norberg
|
40804a829b
|
failcount is reset on a peer that successfully connects. documented max_failcount and min_reconnect_time. implemented seed optimization for piece_picker (inc_refcount_all and dec_refcount_all), ticket #17
|
2007-04-15 02:14:02 +00:00 |
Arvid Norberg
|
3bc8d093c2
|
fixed the distributed copy function in the piece picker
|
2007-04-11 20:33:28 +00:00 |
Arvid Norberg
|
5c90b99316
|
piece picker fix
|
2007-03-30 20:21:29 +00:00 |
Arvid Norberg
|
e6a4733392
|
fixed one incorrect assert
|
2007-03-30 19:18:03 +00:00 |
Arvid Norberg
|
a9d18439e9
|
piece picker fix
|
2007-03-30 03:09:28 +00:00 |
Arvid Norberg
|
fc46a731eb
|
modified and enabled invariant checking for piece_picker
|
2007-03-29 00:52:16 +00:00 |
Arvid Norberg
|
ceadb93097
|
added asserts to the piece picker
|
2007-03-28 23:23:07 +00:00 |
Arvid Norberg
|
bec03261f5
|
fixed piece picker and test
|
2007-03-27 08:53:48 +00:00 |
Arvid Norberg
|
b3c889f563
|
fixed typo in previous check in
|
2007-03-21 02:14:31 +00:00 |
Arvid Norberg
|
20e38bc42b
|
peer interest flag is now updated when priority is changed. fixes in piece_picker
|
2007-03-21 02:09:50 +00:00 |
Arvid Norberg
|
10da416c76
|
fix related to piece priorities
|
2007-03-20 19:50:15 +00:00 |
Arvid Norberg
|
00a7546f7e
|
fix related to piece priorities
|
2007-03-20 19:34:10 +00:00 |
Arvid Norberg
|
776b399a97
|
added api for piece priorities
|
2007-03-20 01:59:00 +00:00 |
Arvid Norberg
|
7ff5893431
|
reverted bad check-in where files_checked was removed from piece_picker
|
2007-03-17 17:28:59 +00:00 |
Arvid Norberg
|
8957b64c04
|
prepared for precompiled headers support. fixed issue where storage didn't lock the session properly. fixed typo in natpmp.cpp
|
2007-03-17 17:15:16 +00:00 |
Arvid Norberg
|
4ac08f393a
|
simplified the piece picker by initializing it properly in its constructor. Removed natpmp reporting port map success when removing mappings. fix where incoming connections before the files were completely checked would cause an assert.
|
2007-03-16 23:28:26 +00:00 |
Arvid Norberg
|
ecaa3068d5
|
added natpmp support. bumped version number to 0.13. added piece priority support to the piece picker. optmized and simplified the piece picker in the process.
|
2007-03-15 22:03:56 +00:00 |
Arvid Norberg
|
87f7b186b0
|
replaced the bandwidth throttling code with a leaky bucket for better accuracy
|
2007-01-10 15:02:25 +00:00 |
Arvid Norberg
|
45864b15ec
|
fixed incorrect assert in bytes_done()
|
2006-12-31 14:48:18 +00:00 |
Arvid Norberg
|
c69479a166
|
fixed the cause of an inconsistency in the piece picker and the torrent
|
2006-12-22 00:45:43 +00:00 |
Arvid Norberg
|
f83db0a423
|
consistency fixes related to shutting down
|
2006-12-21 22:20:28 +00:00 |
Arvid Norberg
|
79ebcf5dd8
|
modified the hueristic for taking over blocks slightly, added logging
|
2006-12-15 10:42:56 +00:00 |
Arvid Norberg
|
16b7898de9
|
added some asserts
|
2006-12-15 02:26:11 +00:00 |
Arvid Norberg
|
f0519e86e8
|
separated session from session_impl and made a real pimpl-class of it. Introduced the possibility to destruct the sessions async.
|
2006-10-11 14:02:21 +00:00 |
Arvid Norberg
|
f029f5d6b2
|
fixed sequenced download bug
|
2006-10-02 08:58:28 +00:00 |
Arvid Norberg
|
191fd76b42
|
made sequenced_download_threshold a per torrent setting. Updated the project page layout. Removed incorrect invariant checks in piece picker.
|
2006-09-04 17:17:45 +00:00 |
Arvid Norberg
|
7bc1214749
|
fixed strange User-Agent encoding in HTTP requests. Fixed bug in sequenced_download_threshold code
|
2006-09-03 22:59:54 +00:00 |
Arvid Norberg
|
5ae55c5738
|
fixed bug appearing when changing the sequenced download threshold on a torrent which already had some pieced downloaded.
|
2006-09-01 09:36:43 +00:00 |
Arvid Norberg
|
8d31bf442a
|
fixed incorrect sorting of pieces in piece_picker
|
2006-07-16 00:08:50 +00:00 |
Arvid Norberg
|
c3eaa26645
|
fixed bug spotted by Tianhao Qiu
|
2006-06-12 21:20:32 +00:00 |
Arvid Norberg
|
d1c33c0d2b
|
windows fixes
|
2006-04-27 00:39:21 +00:00 |
Arvid Norberg
|
41810b1166
|
merged back the asio development branch
|
2006-04-25 21:04:48 +00:00 |
Arvid Norberg
|
7eb9812cfa
|
changed include order of boost headers to workaround namespace bug on msvc 7
|
2006-01-11 01:32:26 +00:00 |
Arvid Norberg
|
f63702c964
|
optimized session::add_torrent() by putting more info in torrent_info, to make it possible to reproduce the exact info section from an torrent_info object. The result is that the .torrent file is only parsed once.
|
2005-10-16 16:58:41 +00:00 |
Arvid Norberg
|
8ef7f58d16
|
fixed bug where some blocks weren't restored in the piece picker when the peer they were requested from disconnected. made the invariant check on policy work
|
2005-09-28 23:58:55 +00:00 |
Arvid Norberg
|
a15f589341
|
fixed problem in piece_picker with filtered files, also optimzed it somewhat. Added more logging and added one test to the piece_picker test
|
2005-09-01 21:04:21 +00:00 |
Arvid Norberg
|
d19c2c6483
|
removed olf workarounds for vc6.5 and added documentation for building with autotools
|
2005-08-15 18:03:57 +00:00 |
Arvid Norberg
|
1934171431
|
bugfixes, fixes for boost 1.33, made the piece picker pick whole pieces from fast peers
|
2005-08-14 22:04:58 +00:00 |
Arvid Norberg
|
f7c90b8511
|
*** empty log message ***
|
2005-08-12 12:40:58 +00:00 |
Arvid Norberg
|
0d6a4de5aa
|
*** empty log message ***
|
2005-06-22 23:04:37 +00:00 |
Arvid Norberg
|
fbffae1981
|
*** empty log message ***
|
2005-05-30 17:43:03 +00:00 |
Arvid Norberg
|
e525456498
|
*** empty log message ***
|
2005-05-29 17:25:13 +00:00 |
Arvid Norberg
|
4c2f32544c
|
*** empty log message ***
|
2005-05-29 08:58:21 +00:00 |
Arvid Norberg
|
2fabb2bf80
|
experimental support for filtering pieces (filter from downloading that is)
|
2005-05-25 10:01:01 +00:00 |
Arvid Norberg
|
9707b6aeb0
|
added support for non-compact storage layout. i.e. all the files are allocated on disk before downloading starts
|
2005-05-13 00:39:39 +00:00 |
Arvid Norberg
|
7814b03370
|
fixed issue with creating torrents with a single file in a directory and some security issues with paths in torrents
|
2005-05-11 23:03:12 +00:00 |
Arvid Norberg
|
6ff7e76ab2
|
*** empty log message ***
|
2005-03-19 12:22:40 +00:00 |
Arvid Norberg
|
9154e37e3a
|
*** empty log message ***
|
2005-02-23 16:56:32 +00:00 |
Arvid Norberg
|
b55a1a6766
|
*** empty log message ***
|
2004-12-21 12:30:09 +00:00 |
Arvid Norberg
|
705e40fda6
|
*** empty log message ***
|
2004-11-21 10:49:02 +00:00 |
Arvid Norberg
|
b29e378f22
|
*** empty log message ***
|
2004-11-18 22:33:50 +00:00 |
Arvid Norberg
|
29cb9e8969
|
*** empty log message ***
|
2004-09-07 23:16:11 +00:00 |
Magnus Jonsson
|
7fe3323ced
|
added num_seeds and distributed_copies to torrent_status
|
2004-08-05 13:56:26 +00:00 |
Magnus Jonsson
|
a25addd496
|
*** empty log message ***
|
2004-02-12 14:41:39 +00:00 |
Arvid Norberg
|
fc74e19224
|
*** empty log message ***
|
2004-01-26 10:29:00 +00:00 |
Arvid Norberg
|
1eaa0877c8
|
*** empty log message ***
|
2004-01-26 00:21:12 +00:00 |
Magnus Jonsson
|
23288c74f5
|
*** empty log message ***
|
2004-01-25 22:41:55 +00:00 |
Arvid Norberg
|
0dbbc18186
|
removed most warnings on msvc.
reimplemented piece_manager::check_pieces to take care of all possible cases of the storage state.
|
2004-01-25 18:18:36 +00:00 |
Arvid Norberg
|
abbedbf104
|
*** empty log message ***
|
2004-01-13 03:08:59 +00:00 |
Arvid Norberg
|
b6c826c6af
|
*** empty log message ***
|
2004-01-12 20:31:27 +00:00 |
Arvid Norberg
|
3033f16f47
|
*** empty log message ***
|
2004-01-03 02:10:11 +00:00 |
Arvid Norberg
|
cb89ccf6be
|
*** empty log message ***
|
2003-12-18 03:30:41 +00:00 |
Arvid Norberg
|
3b551ac272
|
*** empty log message ***
|
2003-12-17 19:03:23 +00:00 |
Arvid Norberg
|
557b3f3955
|
*** empty log message ***
|
2003-12-09 18:09:34 +00:00 |
Arvid Norberg
|
f21d6a0f7f
|
there are still some serious issues with storage when having large torrents (about 700 meg and up at least)
|
2003-12-01 05:01:40 +00:00 |
Arvid Norberg
|
94919f9806
|
*** empty log message ***
|
2003-11-28 17:29:27 +00:00 |
Arvid Norberg
|
420ab6bff2
|
*** empty log message ***
|
2003-11-09 18:17:09 +00:00 |
Arvid Norberg
|
6325295993
|
*** empty log message ***
|
2003-11-04 23:27:06 +00:00 |
Arvid Norberg
|
8b61436561
|
Increased performance. Fixed a bug. Extended torrent_handle interface.
|
2003-11-02 21:06:50 +00:00 |
Arvid Norberg
|
d7f92afea3
|
*** empty log message ***
|
2003-10-29 23:28:09 +00:00 |
Arvid Norberg
|
1800e63c09
|
*** empty log message ***
|
2003-10-23 16:55:52 +00:00 |
Arvid Norberg
|
ec34b1bfdb
|
Initial commit of 'new' libtorrent.
The Jamfile is broken and will hopefully be fixed soon.
|
2003-10-22 23:00:57 +00:00 |