Commit Graph

600 Commits

Author SHA1 Message Date
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 f770d1438d fixed bug introduced in latest storage changes (triggered when using metadata extension). improved commandline switches to client_test 2005-10-16 09:15:46 +00:00
Arvid Norberg 032f4c715b *** empty log message *** 2005-10-15 23:16:39 +00:00
Arvid Norberg 19259170d7 fixed problem when using metadata extension 2005-10-15 23:07:39 +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 950c9bd879 optimizations to entry (using std::maps find instead of linear search) 2005-10-13 21:50:59 +00:00
Arvid Norberg c7c784170f fix for unkown clients using shadow's style 2005-10-13 21:37:32 +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
Michael Wojciechowski 7af0fad1ba Corrected information about building release and debug versions using autotools. 2005-10-06 17:22:07 +00:00
Arvid Norberg 371c34ea7e updated client identification 2005-10-05 14:06:39 +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 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 cbcf8df504 modified some assertions in policy 2005-10-01 11:20:47 +00:00
Arvid Norberg da6afef0ae *** empty log message *** 2005-10-01 10:50:07 +00:00
Arvid Norberg 7cfc0b2e44 fixed bug introduced when adding the separate request queue 2005-09-29 23:31:39 +00:00
Michael Wojciechowski 394c046fad Removed buffer.cpp, it does not exist 2005-09-29 16:31:24 +00:00
Michael Wojciechowski a0b4f3b3b6 Updated bin_PROGRAMS 2005-09-29 16:30:50 +00:00
Arvid Norberg 2822365b1b updated changelog to reflect recent changes 2005-09-29 09:06:44 +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 6d66566298 fixed problem with file pool when files were opened with 0 as info hash and attempted to close with the correct one. the info hash is no longer used as the key in the file pool. Also updated Makefile.am to include the buffer.hpp and .cpp and to include the storage unit test 2005-09-28 21:46:35 +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 aaf6f0f19a fixed two bugs related to http proxy requests and ports 2005-09-27 12:42:30 +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 8c8a375168 changed back the entry to use std::map for dictionaries 2005-09-11 09:58:34 +00:00
Arvid Norberg f824714b0e added a test for storage and fixed a bug in piece checking 2005-09-11 09:48:05 +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
Michael Wojciechowski 41d2c0d694 Use package versions, dependencies. 2005-08-30 21:20:42 +00:00
Michael Wojciechowski 36ab3b00f5 Files used for building a debian package, pkg-config support 2005-08-27 22:10:44 +00:00
Michael Wojciechowski d73bc950c6 Files used for building a debian package, pkg-config support 2005-08-27 20:07:17 +00:00
Michael Wojciechowski c8e0200daf Changed ZLIBINCL, since it broke make distcheck on targets without system zlib. 2005-08-27 17:02:43 +00:00
Arvid Norberg 3464c61778 made file_win.cpp included in the dist 2005-08-25 13:46:18 +00:00
Arvid Norberg 52e9eadb4e rollback 2005-08-25 13:11:39 +00:00
spyhole 663764a49a rename http_settings class as http_proxy class 2005-08-24 23:29:57 +00:00
spyhole 67527bec0b rename http_settings class as http_proxy class 2005-08-24 23:08:26 +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 356df1bd32 fixed choke-unchoke problem in policy 2005-08-18 20:38:03 +00:00
Arvid Norberg df4466cb86 made it build on cygwin 2005-08-18 11:20:17 +00:00
Arvid Norberg b38a3119a1 added BSD license 2005-08-18 00:02:41 +00:00
Arvid Norberg 10ea2411b3 *** empty log message *** 2005-08-17 23:04:26 +00:00