Commit Graph

938 Commits

Author SHA1 Message Date
Arvid Norberg 79ebcf5dd8 modified the hueristic for taking over blocks slightly, added logging 2006-12-15 10:42:56 +00:00
Arvid Norberg 1271334f95 fix 2006-12-15 09:38:52 +00:00
Arvid Norberg 16b7898de9 added some asserts 2006-12-15 02:26:11 +00:00
Arvid Norberg 9e27e33c99 added some asserts and updated changelog 2006-12-14 16:12:31 +00:00
Arvid Norberg fcf211378a fixed http_tracker_connection to finally use the http-parser class (which also web_seed_connection uses). also fixed a case sensitivity issue with http header names. 2006-12-12 02:28:53 +00:00
Arvid Norberg fcf20c7c0c invariant check fixes 2006-12-11 15:43:27 +00:00
Arvid Norberg f0e97d5aff fixes and asserts partly related to the freeing of the piece picker 2006-12-11 12:48:33 +00:00
Arvid Norberg d10f06059d fix related to the recent piece_picker optimization 2006-12-05 23:53:56 +00:00
Arvid Norberg e49934f236 fixed typo 2006-12-04 20:46:38 +00:00
Arvid Norberg ef235faede added MLDonkey to identify client, fixed a problem introduced with the recent piece_picker optimization, choked peers should now waste less bandwidth in the quota management. 2006-12-04 20:42:47 +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 c5cf290f49 more quota management fixes and more stats for web seeds 2006-11-24 14:22:52 +00:00
Arvid Norberg 8e289bb233 improved logging and fixed glitch in quota management. 2006-11-21 15:51:28 +00:00
Arvid Norberg 68e8ea35ea added logging of upload and download statistics, revised some of the quota management, added support for sessions to allocate_resources (patch by wojci) 2006-11-20 21:03:58 +00:00
Arvid Norberg c52de08421 added more logging and modified the resource allocation algorithm. A new, looser, upload and download bandwidth limiter is now used, in order to be able to use more of the available bandwidth 2006-11-19 15:29:58 +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 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 5ef57265bf first version with DHT support. Limited pipelining used by url-seeds. Fixed one configuration problem on FreeBSD. 2006-08-01 15:27:08 +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 175fb8770b added peer_timeout and urlseed_timeout to session_settings, they control the timeout for peers and web seeds respectively. Added BitSlug to the projects page. Added more debug logging when resolving web seed hostnames. Updated documentation. 2006-06-28 23:27:44 +00:00
Arvid Norberg d3ba5edd6d fixed a long standing (quite rare) bug, thanks to Massaroddel. Made the tests clean up their temporary files. 2006-06-24 22:30:59 +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 3d06c0636a *** empty log message *** 2006-05-29 17:50:57 +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 73b1c5c9b8 cleaned up comments, added some asserts, added setup_send() as proposed by Tianhao Qiu to speed up connection attempts 2006-05-01 23:34:37 +00:00
Arvid Norberg d63ceac56c fixed a bug in client_test. fixed some problems related to the previous buffer bug fix. all tests pass now. 2006-04-30 10:28:45 +00:00
Arvid Norberg 18cb6736ea fixed a serious bug where corrupt messages could be sent out. 2006-04-30 00:39:18 +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 410af930a7 no longer expects requests to be handled in fifo order 2006-02-23 10:53:07 +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 2e851505f8 merged fixes from release branch 2005-11-22 00:18:39 +00:00
Arvid Norberg ec7eb0ebd6 more asserts in peer_connection 2005-11-04 00:14:55 +00:00
Arvid Norberg 051aa5dbe0 fixed an incorrect assert and added another one in the invariant check 2005-11-03 22:55:51 +00:00
Arvid Norberg d7b1dda483 renamed torrent::interface() since it seems msvc won't allow it as an identifier 2005-11-02 19:19:41 +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 6d7236fbea fixed unchecked input 2005-10-18 18:16:36 +00:00
Arvid Norberg 51052fa2b1 fixed incorrect assert in file_win.cpp, added windows-unicode function for file_size 2005-10-17 20:37:40 +00:00
Arvid Norberg 23fbb8d240 may have fixed a bug where incorrect metadata was sent (introduced with the latest optimization) 2005-10-16 20:15:54 +00:00
Arvid Norberg a44c3c7811 fixed bug where upload ratio was not being respected 2005-10-15 17:21:49 +00:00
Arvid Norberg ea0e803fff removed some debug logging 2005-10-13 21:51:59 +00:00
Arvid Norberg b80c8720e3 fixed incorrect assert 2005-10-01 16:18:36 +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 7cfc0b2e44 fixed bug introduced when adding the separate request queue 2005-09-29 23:31:39 +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 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 09c98711d5 made the peer_connection re-request pieces that aren't sent (fixes a problem where the download could get stuck because bitcomet ignores some requests) 2005-09-21 21:44:38 +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 5a1e064783 Added support for dht-port message. It is currently only logged. 2005-09-14 22:45:22 +00:00
Arvid Norberg 7f890239c4 Added new send buffer class to avoid unecessary copying of outgoing data. 2005-09-14 19:33:16 +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 84ddeacea0 *** empty log message *** 2005-08-23 09:59:56 +00:00
Arvid Norberg e930580f13 *** empty log message *** 2005-08-18 23:55:32 +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 c1ec7e8830 *** empty log message *** 2005-08-05 02:43:44 +00:00
Arvid Norberg 57144ea15d *** empty log message *** 2005-08-03 22:51:21 +00:00
Arvid Norberg de8839cc62 *** empty log message *** 2005-07-22 17:16:23 +00:00
Arvid Norberg 300e839fab *** empty log message *** 2005-07-16 00:56:50 +00:00
Arvid Norberg eca5300ebb *** empty log message *** 2005-06-15 12:54:35 +00:00
Arvid Norberg cf8d7beb23 *** empty log message *** 2005-06-13 10:58:00 +00:00
Arvid Norberg de63a70323 *** empty log message *** 2005-06-12 00:21:37 +00:00
Arvid Norberg 1bc22888a8 *** empty log message *** 2005-06-10 23:12:50 +00:00
Arvid Norberg fbffae1981 *** empty log message *** 2005-05-30 17:43:03 +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 1672eed3f2 *** empty log message *** 2005-04-03 15:44:17 +00:00
Arvid Norberg 6ff7e76ab2 *** empty log message *** 2005-03-19 12:22:40 +00:00
Arvid Norberg ed868f04ed *** empty log message *** 2005-03-12 12:18:07 +00:00
Arvid Norberg a5c91f683a *** empty log message *** 2005-03-05 14:17:17 +00:00
Arvid Norberg 344d5b80c8 *** empty log message *** 2005-01-10 11:14:22 +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 df281f81ae *** empty log message *** 2004-10-31 23:16:08 +00:00
Arvid Norberg e9ef2b56a5 *** empty log message *** 2004-10-17 22:23:08 +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 2406d5e54d *** empty log message *** 2004-09-12 13:53:00 +00:00
Arvid Norberg 29cb9e8969 *** empty log message *** 2004-09-07 23:16:11 +00:00
Arvid Norberg a1b50fb1e3 *** empty log message *** 2004-08-08 21:26:40 +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 2baa01e3ec *** empty log message *** 2004-07-01 07:12:17 +00:00
Arvid Norberg 82f5f056ea *** empty log message *** 2004-06-30 07:53:42 +00:00
Arvid Norberg 43997c41fd *** empty log message *** 2004-06-28 20:23:42 +00:00
Arvid Norberg 0f31d61d7d *** empty log message *** 2004-06-14 23:11:31 +00:00
Arvid Norberg 760fe68eff *** empty log message *** 2004-06-14 23:10:16 +00:00
Arvid Norberg f70bd8ac97 added a metadata extension. i.e. torrent-less downloads 2004-06-13 23:30:42 +00:00
Magnus Jonsson 00eaae092f *** empty log message *** 2004-05-13 23:34:42 +00:00
Arvid Norberg 6b5b48adbc *** empty log message *** 2004-04-17 12:29:35 +00:00
Arvid Norberg b0359b8f91 *** empty log message *** 2004-04-04 23:22:39 +00:00
Arvid Norberg fb8a1bb495 *** empty log message *** 2004-03-30 23:55:52 +00:00
Arvid Norberg 62bfb69863 *** empty log message *** 2004-03-29 23:25:13 +00:00
Arvid Norberg fac783b4d8 *** empty log message *** 2004-03-28 17:45:37 +00:00
Arvid Norberg a9b3c6dd41 *** empty log message *** 2004-03-27 22:02:31 +00:00
Arvid Norberg 27c8533716 *** empty log message *** 2004-03-22 14:56:32 +00:00
Arvid Norberg bb52b74a9e *** empty log message *** 2004-03-21 02:03:37 +00:00
Arvid Norberg 06ad07cea7 *** empty log message *** 2004-03-17 12:14:44 +00:00
Magnus Jonsson d6dc5b52e4 *** empty log message *** 2004-03-11 14:56:48 +00:00
Arvid Norberg 8e581e7a37 *** empty log message *** 2004-03-08 14:34:11 +00:00
Magnus Jonsson 1d9b74ffee *** empty log message *** 2004-03-07 20:50:56 +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 35ce00afa7 *** empty log message *** 2004-03-01 01:03:16 +00:00
Arvid Norberg 3108cd0182 *** empty log message *** 2004-02-29 21:33:17 +00:00
Arvid Norberg c035bb11f8 *** empty log message *** 2004-02-29 13:11:44 +00:00
Magnus Jonsson 7af8beff02 *** empty log message *** 2004-02-25 13:18:41 +00:00
Magnus Jonsson ed7c5e6d13 *** empty log message *** 2004-02-24 23:48:02 +00:00
Magnus Jonsson 13b2590c0b *** empty log message *** 2004-02-24 19:23:37 +00:00
Arvid Norberg cea75e3723 *** empty log message *** 2004-02-24 12:45:05 +00:00
Magnus Jonsson 4cb125a694 *** empty log message *** 2004-02-23 22:54:54 +00:00
Arvid Norberg 8d9e73cf76 *** empty log message *** 2004-02-20 15:22:23 +00:00
Arvid Norberg 402046338c *** empty log message *** 2004-02-18 00:08:20 +00:00
Magnus Jonsson a25addd496 *** empty log message *** 2004-02-12 14:41:39 +00:00
Arvid Norberg 268d96020e *** empty log message *** 2004-02-01 17:42:20 +00:00
Arvid Norberg 2722e5803f *** empty log message *** 2004-02-01 13:48:30 +00:00
Arvid Norberg 80b57290c9 *** empty log message *** 2004-01-31 10:46:15 +00:00
Arvid Norberg 5b7100656e *** empty log message *** 2004-01-31 10:20:19 +00:00
Arvid Norberg 03561913df *** empty log message *** 2004-01-28 11:37:46 +00:00
Arvid Norberg 7013ee461c *** empty log message *** 2004-01-26 17:39:44 +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 19a4dad706 *** empty log message *** 2004-01-24 17:14:03 +00:00
Arvid Norberg a3b47ec826 added documentation of udp-tracker protocol and finalized support for it. 2004-01-22 22:45:52 +00:00
Arvid Norberg b897315abb implemented completely untested support for udp-trackers. 2004-01-21 13:16:11 +00:00
Arvid Norberg a9ef075d7d started work on udp-tracker support. 2004-01-20 22:59:21 +00:00
Arvid Norberg 6d22d4144c *** empty log message *** 2004-01-20 11:01:50 +00:00
Arvid Norberg b9c3db8a07 *** empty log message *** 2004-01-19 19:36:55 +00:00
Arvid Norberg 23256b9b1f *** empty log message *** 2004-01-18 19:12:18 +00:00
Arvid Norberg f729893016 *** empty log message *** 2004-01-18 10:22:18 +00:00
Arvid Norberg 4d33080399 *** empty log message *** 2004-01-17 20:04:19 +00:00
Arvid Norberg 5914b3400f *** empty log message *** 2004-01-16 02:57:45 +00:00
Arvid Norberg 85ed5e1593 added first file abstraction interface. 2004-01-15 23:57:11 +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
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 8137e5002d *** empty log message *** 2004-01-08 17:03:04 +00:00
Arvid Norberg cfe5da0588 *** empty log message *** 2004-01-08 13:03:38 +00:00
Arvid Norberg 99db2c6395 *** empty log message *** 2004-01-07 12:07:16 +00:00
Arvid Norberg 91c9156de1 *** empty log message *** 2004-01-07 00:48:02 +00:00
Arvid Norberg d43380d579 *** empty log message *** 2004-01-05 01:45:57 +00:00
Arvid Norberg b637368c65 *** empty log message *** 2004-01-05 01:30:34 +00:00
Arvid Norberg e2baa0a646 *** empty log message *** 2004-01-04 23:51:54 +00:00
Arvid Norberg 01d04c159a *** empty log message *** 2004-01-04 05:53:01 +00:00
Arvid Norberg 7b977476ee *** empty log message *** 2004-01-04 05:28:24 +00:00
Arvid Norberg 6b356eed3d *** empty log message *** 2004-01-04 04:35:25 +00:00
Arvid Norberg 8a3d994416 *** empty log message *** 2004-01-04 04:29:13 +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 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 3b551ac272 *** empty log message *** 2003-12-17 19:03:23 +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
Magnus Jonsson ac40cc37c5 Fixed bug in peer_connection::set_send_quota when m_send_quota_limit=-1 2003-12-15 17:42:28 +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 557b3f3955 *** empty log message *** 2003-12-09 18:09:34 +00:00
Arvid Norberg ef5a49b694 *** empty log message *** 2003-12-08 21:59:48 +00:00
Arvid Norberg 3ed0745cb1 *** empty log message *** 2003-12-08 01:37:30 +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
Daniel Wallin 329e610ca6 new storage 2003-11-26 14:11:25 +00:00
Arvid Norberg a1356219da added simple_client (and added it in the docs as well).
updated documentation to include some sample code.
fixed a nasty network bug.
It now seems to work on linux (at least in cygwin).
2003-11-23 03:00:45 +00:00
Arvid Norberg 3d385dde33 *** empty log message *** 2003-11-10 13:15:41 +00:00
Arvid Norberg 420ab6bff2 *** empty log message *** 2003-11-09 18:17:09 +00:00
Arvid Norberg 01d9d10157 *** empty log message *** 2003-11-08 02:16:26 +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 6466b46573 *** empty log message *** 2003-10-31 04:02:51 +00:00
Arvid Norberg d7f92afea3 *** empty log message *** 2003-10-29 23:28:09 +00:00
Arvid Norberg 1bd0a8234a *** empty log message *** 2003-10-28 01:20:50 +00:00
Arvid Norberg 0032bd8601 some cleanup, fixes, added documentation and added some configuration options. 2003-10-25 01:31:06 +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