Arvid Norberg
|
c6c77d8efc
|
fixed so that peers only get one fast-reconnect
|
2007-10-12 01:12:30 +00:00 |
Arvid Norberg
|
fd180c4294
|
fixed bug in policy
|
2007-10-02 20:30:53 +00:00 |
Arvid Norberg
|
3dcae188fb
|
policy now has a map of peers instead of a flat list, makes it more efficient to do lookups
|
2007-10-02 19:11:04 +00:00 |
Arvid Norberg
|
d00ce3b28b
|
optimized policy and removed #warning
|
2007-08-16 23:53:14 +00:00 |
Arvid Norberg
|
4ac1ac8a1f
|
removed allocate_resources. switched to a global unchoker and connection distribution
|
2007-08-16 12:41:46 +00:00 |
Arvid Norberg
|
f67deba30e
|
fixed #81
|
2007-07-26 07:04:35 +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
|
0e1e1484ee
|
made test_piece_picker build on gcc 3.3
|
2007-07-04 18:05:29 +00:00 |
Arvid Norberg
|
3b8670626a
|
merged back async_io branch into trunk
|
2007-06-10 20:46:09 +00:00 |
Arvid Norberg
|
a7ad108e8a
|
made the unchoke interval configurable
|
2007-06-07 22:37:58 +00:00 |
Arvid Norberg
|
273f8bd921
|
merged back encryption branch to trunk
|
2007-06-06 00:41:20 +00:00 |
Arvid Norberg
|
bb71832f5f
|
exposed some more peer info
|
2007-05-25 19:42:10 +00:00 |
Arvid Norberg
|
508dfd722a
|
cleaned up policy a bit and the country code list
|
2007-05-05 22:55:34 +00:00 |
Arvid Norberg
|
49bd69cad4
|
introduced a proper half open TCP connection limit. Also exposed the connection queue to let clients use the same connection limiter as libtorrent. UPnP connections and tracker connection are now also limited as well as peer connections and web seeds
|
2007-05-05 00:29:33 +00:00 |
Arvid Norberg
|
3d759e8936
|
fixes in connection policy. fixes #29. inserted more invariant checks in policy
|
2007-04-13 17:47:40 +00:00 |
Arvid Norberg
|
0e5ce5dd9d
|
cleaned up policy a bit, moved the seed check in on_bitfield to be performed before the piece picker is updated
|
2007-04-13 01:53:25 +00:00 |
Arvid Norberg
|
52623405f0
|
improved unchoking, connecting and disconnecting logic in policy. seems to fix #29
|
2007-04-12 10:21:55 +00:00 |
Arvid Norberg
|
3ed24da320
|
added source to peer_info, which is a bitmask of the sources where the peer has been acquired from
|
2007-04-10 21:23:13 +00:00 |
Arvid Norberg
|
306d015924
|
added a timer abstraction and replaced the use of boost.date_time. the timers used now are QueryPerformanceCounter on windows, mach_absolute_time on darwin and currently falls back on boost.date_time on other platforms. This has the advantage of being a monotonic clock, and also slightly more efficient
|
2007-04-04 22:27:36 +00:00 |
Arvid Norberg
|
f2778d52d1
|
introduced failcounter for peers, increased timeout for peer info (such as being banned). Peers that fails 4 times are removed from the peer-list
|
2007-03-28 19:56:53 +00:00 |
Arvid Norberg
|
f1af5dc637
|
changes to ut_pex, added support for seed flag in pex messages
|
2007-03-28 01:06:15 +00:00 |
Arvid Norberg
|
f795be7acf
|
made the dht be a fallback by default, fixed glitch in earlier fix to make sure block requests are sent properly, fixed problem in peer_connection::second_tick if the piece picker was removed because of the torrent becoming a seed
|
2007-02-12 09:20:49 +00:00 |
Arvid Norberg
|
947df91b20
|
improved support for multiple connections per ip
|
2006-11-30 11:56:19 +00:00 |
Arvid Norberg
|
4403eac97b
|
fixed bugs reported by Massaroddel. Tracker request peer-count could be incorrect. Empty files were not created in full allocation mode.
|
2006-07-08 19:41:39 +00:00 |
Arvid Norberg
|
94628fa78d
|
fixed race condition in peer_connection, fixed assert in torrent destructor, updated tests
|
2006-05-28 19:03:54 +00:00 |
Arvid Norberg
|
0b529e8f96
|
added a setting for max outstanding requests, and a limit for BitComet since it's known to have a very low limit, also added an extension header to specify it. Fixed another unnecessary delay spotted by Tianhao Qiu. Cleaned up the logging class a bit. Fixed a bug that would cause an assert when removing a torrent queued for checking.
|
2006-05-14 22:30:05 +00:00 |
Arvid Norberg
|
41810b1166
|
merged back the asio development branch
|
2006-04-25 21:04:48 +00:00 |
Arvid Norberg
|
3f36dd0395
|
added the ability to build libtorrent as a shared library. Fixed bugs with deleting of incomplete types (replaced auto_ptr with scoped_ptr). Made the string converter fall back on windows local code page if utf-8 decoding failed.
|
2005-11-01 18:30:39 +00:00 |
Arvid Norberg
|
beee914277
|
separated the queue of blocks to be requested from peers and those allocated for peers. This sets a hard limit on the remote request queue size and works better with BitComet
|
2005-09-27 08:07:24 +00:00 |
Arvid Norberg
|
356df1bd32
|
fixed choke-unchoke problem in policy
|
2005-08-18 20:38:03 +00:00 |
Arvid Norberg
|
a34130b446
|
*** empty log message ***
|
2004-10-29 13:21:09 +00:00 |
Arvid Norberg
|
a8e8c715e8
|
*** empty log message ***
|
2004-10-14 01:17:04 +00:00 |
Arvid Norberg
|
579d63f49d
|
*** empty log message ***
|
2004-09-16 01:14:16 +00:00 |
Arvid Norberg
|
22e2f8a164
|
*** empty log message ***
|
2004-05-10 06:12:29 +00:00 |
Arvid Norberg
|
bb52b74a9e
|
*** empty log message ***
|
2004-03-21 02:03:37 +00:00 |
Arvid Norberg
|
02871e5977
|
*** empty log message ***
|
2004-03-01 21:54:10 +00:00 |
Arvid Norberg
|
23936310d2
|
*** empty log message ***
|
2004-02-26 18:55:10 +00:00 |
Magnus Jonsson
|
7af8beff02
|
*** empty log message ***
|
2004-02-25 13:18:41 +00:00 |
Magnus Jonsson
|
71e1fd4407
|
*** empty log message ***
|
2004-02-17 00:18:29 +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 |
Magnus Jonsson
|
30329cc225
|
*** empty log message ***
|
2004-01-24 19:19:17 +00:00 |
Magnus Jonsson
|
9c14019f34
|
*** empty log message ***
|
2004-01-21 00:59:38 +00:00 |
Arvid Norberg
|
e257516670
|
took a shot at making it compile on vc6.
|
2004-01-18 01:58:33 +00:00 |
Arvid Norberg
|
b632d8bc20
|
*** empty log message ***
|
2004-01-15 19:32:03 +00:00 |
Arvid Norberg
|
410b35f95e
|
*** empty log message ***
|
2004-01-15 16:45:34 +00:00 |
Magnus Jonsson
|
1fba488c4d
|
*** empty log message ***
|
2004-01-15 01:29:43 +00:00 |
Arvid Norberg
|
f036fc99a4
|
*** empty log message ***
|
2004-01-14 19:24:11 +00:00 |
Magnus Jonsson
|
3c884e72b4
|
*** empty log message ***
|
2004-01-14 16:22:49 +00:00 |
Magnus Jonsson
|
0d96e09410
|
Remember old peers and connect to them
|
2004-01-14 16:18:53 +00:00 |
Arvid Norberg
|
b6c826c6af
|
*** empty log message ***
|
2004-01-12 20:31:27 +00:00 |