Commit Graph

700 Commits

Author SHA1 Message Date
Arvid Norberg 10da416c76 fix related to piece priorities 2007-03-20 19:50:15 +00:00
Arvid Norberg 00a7546f7e fix related to piece priorities 2007-03-20 19:34:10 +00:00
Arvid Norberg 776b399a97 added api for piece priorities 2007-03-20 01:59:00 +00:00
Arvid Norberg 7ff5893431 reverted bad check-in where files_checked was removed from piece_picker 2007-03-17 17:28:59 +00:00
Arvid Norberg 8957b64c04 prepared for precompiled headers support. fixed issue where storage didn't lock the session properly. fixed typo in natpmp.cpp 2007-03-17 17:15:16 +00:00
Arvid Norberg 4ac08f393a simplified the piece picker by initializing it properly in its constructor. Removed natpmp reporting port map success when removing mappings. fix where incoming connections before the files were completely checked would cause an assert. 2007-03-16 23:28:26 +00:00
Arvid Norberg 81ad74cbcd fixes related to nat port mapping and having dht and bittorrent listen on the same port number 2007-03-16 21:45:29 +00:00
Arvid Norberg a6b1583d3f fixes to natpmp to take listen interface into account. added colors to the log in client_test 2007-03-16 21:04:58 +00:00
Arvid Norberg 47c08ad50d fixes incorrect local IP address check 2007-03-16 18:03:18 +00:00
Arvid Norberg 118e1cf00d added alerts for reporting nat-pmp status 2007-03-16 08:25:08 +00:00
Arvid Norberg 029953c5ae made the storage into a customization point. it is now interchangable for a custom implementation 2007-03-16 05:29:23 +00:00
Arvid Norberg 52d6a201be merged error message fix from RC_0_12 branch 2007-03-16 01:24:40 +00:00
Arvid Norberg ecaa3068d5 added natpmp support. bumped version number to 0.13. added piece priority support to the piece picker. optmized and simplified the piece picker in the process. 2007-03-15 22:03:56 +00:00
Arvid Norberg 23c95e35a0 merged fixes from RC_0_12 branch 2007-03-12 01:05:15 +00:00
Arvid Norberg 87d9cdb965 fix for msvc-7.1 2007-03-11 23:17:40 +00:00
Arvid Norberg 034231566a removed unnecessary assert(false) from rpc_manager 2007-03-10 20:23:16 +00:00
Arvid Norberg 4b68dce5f0 lowered the dht timeout from 20 to 10 seconds. added support to parse values-messages as described in the spec (even though that format is very very rare). 2007-03-09 20:37:17 +00:00
Arvid Norberg 6f0a0beadb fix to allow hostnames for peers in tracker responses 2007-03-07 18:50:38 +00:00
Arvid Norberg 17c905e37b fixed issue with single file web seeds with pre-urlencoded paths. Now, the url in the torrent file is assumed to be url-encoded. 2007-03-07 00:21:36 +00:00
Arvid Norberg b17710df09 improved error reporting on http seed failures 2007-03-06 23:56:17 +00:00
Arvid Norberg 0fe9f53410 fix in http seed. incorrect status codes were accepted 2007-03-06 23:22:43 +00:00
Arvid Norberg a3dbea606e added debug message to dht. fixed while loop around condition variable in checker thread. 2007-03-06 17:27:17 +00:00
Arvid Norberg 7e17ff9d4a updated warning messages 2007-03-03 00:49:15 +00:00
Arvid Norberg c22c55feda dht fix 2007-03-02 21:40:18 +00:00
Arvid Norberg 966ba81be0 fixed gcc warning on initialization order 2007-03-02 20:39:23 +00:00
Arvid Norberg 7e3a415d0b made the trackers pick the most suitable interface to connect to (IPv6/Ipv4 issue). added Mono Torrent to identify_client and dht statistics. 2007-03-02 18:40:02 +00:00
Arvid Norberg be574bcc33 removed old commented out code. polished client_test output 2007-03-02 06:49:00 +00:00
Arvid Norberg 8f1128f540 more dht fixes. polished client test output some 2007-03-02 05:02:12 +00:00
Arvid Norberg 83c2039ff7 fix to previous dht fix. removed some deprication warnings on msvc-8. various fixes 2007-03-02 01:16:59 +00:00
Arvid Norberg c40a75f844 IPv6 fixes 2007-02-27 17:21:46 +00:00
Arvid Norberg bb0b8c9d95 improved unit test for storage, modified move_storage to hopefully fix a bug. updated Changelog. 2007-02-25 21:11:29 +00:00
Arvid Norberg 10068634f8 fix for typo in previous checkin 2007-02-25 09:44:08 +00:00
Arvid Norberg 7888b72e12 fix for crashes when stopping or restarting DHT 2007-02-25 09:42:43 +00:00
Arvid Norberg fcc9c49608 fixed issue with metadata-less torrents and their statistics updates 2007-02-25 05:20:14 +00:00
Arvid Norberg de37f48179 fixed bug where multi-file torrents with just a single file in left directories after storage::move_storage was called 2007-02-21 22:49:01 +00:00
Arvid Norberg b0ae8d3a14 tracker fixes for trackerless torrents 2007-02-21 17:15:47 +00:00
Arvid Norberg 11b44fd286 fixed typo in previous check in 2007-02-21 03:05:25 +00:00
Arvid Norberg 4b66454a38 another fix for closing torrentless torrents 2007-02-20 22:58:31 +00:00
Arvid Norberg 9c7e0576bd improved verbose logging of http seed connections 2007-02-20 17:38:07 +00:00
Arvid Norberg 3fc73cb219 added a web seed test (requires manual environment setup for web server). fixed bug in torrent_info where file offsets could be left uninitialized. Fixed bug in torrent which would cause a crash in case a torrent without any trackers would be aborted. 2007-02-20 01:42:12 +00:00
Arvid Norberg 4f86042b97 bandwidth management fix + improved string conversion fallback in case strings are incorrect in torrent 2007-02-19 23:06:20 +00:00
Arvid Norberg f5fe27e691 bandwidth management fix + fix to http tracker connection request builder 2007-02-19 21:24:48 +00:00
Arvid Norberg 9c0e9701d9 fix for bug in bandwidth throttler when limiting a torrent to lower than bandwidth block size. Fixed #ifndef related to DHT support 2007-02-19 00:01:39 +00:00
Arvid Norberg 889ad70cee fixes for metadata-less torrents, and fixes for peer requests 2007-02-15 03:03:50 +00:00
Arvid Norberg 14cb23cec2 tracker announces will always request 50 peers, unless it's stopped 2007-02-12 22:45:23 +00:00
Arvid Norberg 6a47eb501e fixed problem with torrents that were paused not getting any upload slots or connection quota once the were unpaused 2007-02-12 18:21:14 +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 a3bf238143 fixed typo in previous checkin and updated AUTHORS 2007-02-12 05:56:29 +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 0019e9a2fb fixed illegal iterator dereference 2007-02-05 17:10:34 +00:00