Commit Graph

184 Commits

Author SHA1 Message Date
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 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 2d70a9b5bf some more steps in the direction of getting it to build on vc7 2006-01-10 00:38:52 +00:00
Arvid Norberg e810ebaf1f fixed some bind-statements to build on vc7 2006-01-06 21:36:17 +00:00
Arvid Norberg 564ae78012 fixed bug caused when sockets were bound to non-local interface 2006-01-06 20:20:20 +00:00
Arvid Norberg 75dafc5d1b peers that throw in the connection attempt are now removed from the policy's list. added more asserts to session. disabled SIGPIPE on darwin 2005-11-07 02:18:39 +00:00
Arvid Norberg 3f38e4c38d removed debug output that was left in by mistake in last check in 2005-11-02 19:11:30 +00:00
Arvid Norberg bcbe165aee added the ability to limit the number of half-open tcp connections 2005-11-02 16:28:39 +00:00
Arvid Norberg 189a8756ee big change in the way storage is checked. The checker thread can now check the fastresume data of a new torrent without waiting for a currently checking one 2005-10-13 07:59:05 +00:00
Arvid Norberg 364abbefb7 may have fixed an incorrect assert + added ending newline in a file that didn't have one 2005-10-03 23:09:22 +00:00
Arvid Norberg a09159c239 fixed the buggy changes from last revision, modified the invariant checks 2005-10-01 15:12:10 +00:00
Arvid Norberg cbcf8df504 modified some assertions in policy 2005-10-01 11:20:47 +00:00
Arvid Norberg 201793bc51 fixed assert when choking disconnecting peers 2005-09-29 08:56:13 +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 fa1e076d34 added more checks in the invariant check of policy 2005-09-28 20:22:34 +00:00
Arvid Norberg 7a4750d540 added another assert in policy 2005-09-28 18:32:05 +00:00
Arvid Norberg daf7314476 fixed slightly incorrect unchoke condition 2005-09-28 18:07:00 +00:00
Arvid Norberg 8cfc98b976 added more invariant checks to policy 2005-09-28 16:12:47 +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 82c0ca5675 Changed the way libtorrent find out if a peer supports its extensions to make it compatible with Mainline beta. 2005-09-18 10:18:23 +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 e930580f13 *** empty log message *** 2005-08-18 23:55:32 +00:00
Arvid Norberg 356df1bd32 fixed choke-unchoke problem in policy 2005-08-18 20:38:03 +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 c1ec7e8830 *** empty log message *** 2005-08-05 02:43:44 +00:00
Arvid Norberg d26b6462b5 *** empty log message *** 2005-07-06 13:18:10 +00:00
Arvid Norberg aa57fde0db *** empty log message *** 2005-07-04 16:27:14 +00:00
Arvid Norberg 3ba7f05bb9 *** empty log message *** 2005-05-30 22:50:54 +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 4de9a08166 *** empty log message *** 2005-05-11 23:14:58 +00:00
Arvid Norberg 6793c0a21d *** empty log message *** 2005-05-11 23:08:42 +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 1f87a19d1c *** empty log message *** 2005-04-24 00:50:52 +00:00
Arvid Norberg b786ec9125 *** empty log message *** 2005-04-05 07:55:27 +00:00
Arvid Norberg b867e7c141 *** empty log message *** 2005-04-05 00:54:33 +00:00
Arvid Norberg 1672eed3f2 *** empty log message *** 2005-04-03 15:44:17 +00:00
Arvid Norberg d9e10440f3 fixed assert bug in policy and generalized the tracker_connection observer interface a bit 2005-03-24 12:13:47 +00:00
Arvid Norberg 5751af2e6a *** empty log message *** 2005-03-20 10:55:33 +00:00
Arvid Norberg b55a1a6766 *** empty log message *** 2004-12-21 12:30:09 +00:00
Arvid Norberg bc774ff491 *** empty log message *** 2004-11-30 11:17:32 +00:00
Arvid Norberg b29e378f22 *** empty log message *** 2004-11-18 22:33:50 +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 bd296f3657 *** empty log message *** 2004-07-24 11:54:17 +00:00
Arvid Norberg d1577962db *** empty log message *** 2004-07-06 18:20:07 +00:00
Arvid Norberg af50fe181b *** empty log message *** 2004-05-20 23:26:40 +00:00
Magnus Jonsson 00eaae092f *** empty log message *** 2004-05-13 23:34:42 +00:00
Arvid Norberg 22e2f8a164 *** empty log message *** 2004-05-10 06:12:29 +00:00
Arvid Norberg adbfc0378c *** empty log message *** 2004-04-18 12:28:02 +00:00
Arvid Norberg f997f4c226 *** empty log message *** 2004-04-06 20:11:18 +00:00
Arvid Norberg fac783b4d8 *** empty log message *** 2004-03-28 17:45:37 +00:00
Arvid Norberg bb52b74a9e *** empty log message *** 2004-03-21 02:03:37 +00:00
Arvid Norberg f4cc9f755f added support for compact=1 2004-03-12 16:42:33 +00:00
Arvid Norberg 3dac95965e *** empty log message *** 2004-03-05 12:04:47 +00:00
Arvid Norberg 02871e5977 *** empty log message *** 2004-03-01 21:54:10 +00:00
Arvid Norberg 5d65eab1bd *** empty log message *** 2004-03-01 00:50:00 +00:00
Arvid Norberg 23936310d2 *** empty log message *** 2004-02-26 18:55:10 +00:00
Arvid Norberg 2d363127e9 *** empty log message *** 2004-02-26 00:27:06 +00:00
Magnus Jonsson 7af8beff02 *** empty log message *** 2004-02-25 13:18:41 +00:00
Arvid Norberg 6d614bc6d3 *** empty log message *** 2004-02-24 23:55:42 +00:00
Arvid Norberg 32fc19002a *** empty log message *** 2004-02-04 11:00:29 +00:00
Arvid Norberg 268d96020e *** empty log message *** 2004-02-01 17:42:20 +00:00
Arvid Norberg 1a198769cf *** empty log message *** 2004-02-01 17:26:09 +00:00
Arvid Norberg 803a65bff9 *** empty log message *** 2004-02-01 16:48:59 +00:00
Arvid Norberg 5239df3f0e *** empty log message *** 2004-02-01 16:30:13 +00:00
Arvid Norberg 80fd484e4d *** empty log message *** 2004-02-01 13:05:29 +00:00
Arvid Norberg 72d06a74a9 *** empty log message *** 2004-02-01 10:45:54 +00:00
Arvid Norberg 9ac327e23b *** empty log message *** 2004-02-01 10:32:40 +00:00
Arvid Norberg 423eee8cfb *** empty log message *** 2004-02-01 09:47:58 +00:00
Arvid Norberg ae712e83cc *** empty log message *** 2004-02-01 01:00:52 +00:00
Arvid Norberg 54c1e58608 *** empty log message *** 2004-02-01 00:23:55 +00:00
Arvid Norberg eb57c56b72 *** empty log message *** 2004-02-01 00:07:20 +00:00
Arvid Norberg 35b6903c6d *** empty log message *** 2004-01-31 17:13:40 +00:00
Arvid Norberg 49e19dd363 *** empty log message *** 2004-01-31 11:03:48 +00:00
Arvid Norberg 5b7100656e *** empty log message *** 2004-01-31 10:20:19 +00:00
Magnus Jonsson f6a9f17ee9 *** empty log message *** 2004-01-26 11:29:48 +00:00
Arvid Norberg fc74e19224 *** empty log message *** 2004-01-26 10:29:00 +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
Magnus Jonsson 30329cc225 *** empty log message *** 2004-01-24 19:19:17 +00:00
Arvid Norberg 19a4dad706 *** empty log message *** 2004-01-24 17:14:03 +00:00
Magnus Jonsson 90681c67a6 *** empty log message *** 2004-01-22 23:23:36 +00:00
Magnus Jonsson 9c14019f34 *** empty log message *** 2004-01-21 00:59:38 +00:00
Arvid Norberg 23256b9b1f *** empty log message *** 2004-01-18 19:12:18 +00:00
Arvid Norberg 4d33080399 *** empty log message *** 2004-01-17 20:04:19 +00:00
Arvid Norberg c6ef357cdc *** empty log message *** 2004-01-16 16:36:09 +00:00
Magnus Jonsson b339a3a33d *** empty log message *** 2004-01-16 16:19:27 +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 a5f30a6478 *** empty log message *** 2004-01-15 00:46:44 +00:00
Magnus Jonsson 475b0d0a6b *** empty log message *** 2004-01-14 18:57:43 +00:00
Magnus Jonsson 32224419db *** empty log message *** 2004-01-14 17:04:47 +00:00
Magnus Jonsson 74711069c0 *** empty log message *** 2004-01-14 16:52:14 +00:00
Magnus Jonsson 0afc6e6448 *** empty log message *** 2004-01-14 16:47:14 +00:00
Magnus Jonsson 3c884e72b4 *** empty log message *** 2004-01-14 16:22:49 +00:00