Commit Graph

354 Commits

Author SHA1 Message Date
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 98b92e3f02 fixed problems in the network layer that made web seeds fail some times. prepared for proxy support in peer connections. worked on the http seeding. added support for web seeds in make_torrent tool 2007-02-12 05:46:29 +00:00
Arvid Norberg 45864b15ec fixed incorrect assert in bytes_done() 2006-12-31 14:48:18 +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 90feac8126 deallocates the piece picker when seeding, to free up unused memory 2006-12-04 12:20:34 +00:00
Arvid Norberg 4f68ca55dc fixed incorrect change in earlier check-in 2006-11-30 20:40:41 +00:00
Arvid Norberg 947df91b20 improved support for multiple connections per ip 2006-11-30 11:56:19 +00:00
Arvid Norberg 01f1d01d58 improved logging, fixed option to allow multiple connections from the same IP 2006-11-15 21:39:58 +00:00
Arvid Norberg 51e3261dd0 the file pool has been moved to the session and its size can be controlled via session_settings. Added untested option to allow multiple connections from the same IP. 2006-11-14 15:53:38 +00:00
Arvid Norberg e35fc5c4be refactored extensions and added a plugin interface. fixed file.cpp for windows 2006-11-14 00:08:16 +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 861220b233 fixed prioritization on connections, incomming connections are now prioritized over outgoing pending connections. 2006-09-28 13:27:34 +00:00
Arvid Norberg bdf1bbc8f4 changed the file format for storing the DHT routing table to support IPv6. Changed the address used to be IPv4-IPv6 independent (ip_filter still onlt works with IPv4). Added default boost-build features to the building documentation. Completed the jamfile's support for building without DHT support. Updated documentation with these changes. 2006-09-01 03:06:00 +00:00
Arvid Norberg 00df2b5bc3 added build notes for vs.net 2005, removed old code from ip_filter.cpp, fixed problem where the stats could become incorrect in case of very high cpu load, added asserts in storage::read() to make sure one is not trying to read out of bounds. 2006-07-26 10:21:25 +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 1a081561c4 fixed bug in tracker_connection (spotted by tianhao qui) and fixed a performance problem in the piece picker that takes over blocks from other peers (also spotted by tianhao qui) 2006-06-17 01:29:36 +00:00
Arvid Norberg b06b7fdf7b added block requesting fix 2006-06-14 21:08:55 +00:00
Arvid Norberg 8fafa58c1f added per file progress, added patch suggested by Tianhao Qui regarding unchoking when a peer becomes uninterested. Updated documentation and removed block quotes around bullet lists. 2006-06-11 23:24:36 +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 262e97f21d updated to latest version of asio. fixed a problem with low resolution timers in the second_tick code found by Massaroddel. 2006-05-20 15:30:40 +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 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
Magnus Jonsson 0d96e09410 Remember old peers and connect to them 2004-01-14 16:18:53 +00:00
Arvid Norberg 62f3af5b0f *** empty log message *** 2004-01-14 12:53:17 +00:00
Magnus Jonsson bbf58b64e5 *** empty log message *** 2004-01-14 12:19:51 +00:00
Magnus Jonsson 5068562916 *** empty log message *** 2004-01-14 11:46:26 +00:00
Arvid Norberg 9983e7c85b *** empty log message *** 2004-01-14 01:19:30 +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 9e979efb8b *** empty log message *** 2004-01-12 03:05:10 +00:00
Arvid Norberg b9bbf242c6 *** empty log message *** 2004-01-09 10:50:22 +00:00
Arvid Norberg cfe5da0588 *** empty log message *** 2004-01-08 13:03:38 +00:00
Arvid Norberg e2baa0a646 *** empty log message *** 2004-01-04 23:51:54 +00:00
Arvid Norberg 95026395f3 *** empty log message *** 2004-01-02 20:46:24 +00:00
Arvid Norberg c432c9ad68 *** empty log message *** 2003-12-22 07:14:35 +00:00
Arvid Norberg 5ac9f67f23 *** empty log message *** 2003-12-21 17:28:27 +00:00
Arvid Norberg cb89ccf6be *** empty log message *** 2003-12-18 03:30:41 +00:00
Arvid Norberg ac0921599d *** empty log message *** 2003-12-17 21:21:09 +00:00
Arvid Norberg 7de3079ef0 *** empty log message *** 2003-12-17 16:37:20 +00:00
Arvid Norberg 029e185a1e *** empty log message *** 2003-12-17 03:40:13 +00:00
Arvid Norberg 5158ca8558 Updated zlib version.
Changed fignerprint interface to force azureus-style fingerprints.
Tested the load balancing, it seems to work.
2003-12-16 13:33:29 +00:00
Arvid Norberg 9a5c7faf69 *** empty log message *** 2003-12-15 03:14:01 +00:00
Arvid Norberg 465b3c214a *** empty log message *** 2003-12-14 22:55:32 +00:00
Arvid Norberg 24e4c197c9 *** empty log message *** 2003-12-14 05:56:12 +00:00
Arvid Norberg ef5a49b694 *** empty log message *** 2003-12-08 21:59:48 +00:00
Arvid Norberg d99762f0b0 *** empty log message *** 2003-12-08 16:39:05 +00:00
Arvid Norberg 5f9ae41e86 *** empty log message *** 2003-12-07 05:53:04 +00:00
Arvid Norberg 6402fd4a14 *** empty log message *** 2003-12-01 21:27:27 +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 2ce4802cf1 bugfix 2003-11-05 15:56:51 +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 c0f8ea13e4 *** empty log message *** 2003-10-27 16:06:00 +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