Commit Graph

2053 Commits

Author SHA1 Message Date
Arvid Norberg 0439399169 replaced std::vector with buffer 2007-10-30 17:30:49 +00:00
Arvid Norberg e28689237d uses checked_delete instead of plain delete 2007-10-30 10:08:09 +00:00
Arvid Norberg df7e01ff8a broadcast socket fix 2007-10-30 10:07:26 +00:00
Arvid Norberg eea82821d2 fixed missing initialization in piece_manager 2007-10-30 06:50:08 +00:00
Arvid Norberg 70810cb7e9 dht_state() no longer asserts on the dht being active. It just returns an empty state if it isn't 2007-10-29 16:18:37 +00:00
Arvid Norberg 79d4191ef5 attempt to fix stall on exit where some connections weren't closed 2007-10-29 00:29:43 +00:00
Arvid Norberg 9b041b1c94 fixed #191 2007-10-27 22:01:32 +00:00
Arvid Norberg 3c05e0fa41 attempt to fix #190 2007-10-27 21:21:44 +00:00
Arvid Norberg 8f07edbed2 asio handlers are now properly cancelled when destructing the session object, race conditions are avoided by waiting for the io service to complete all tasks 2007-10-26 07:14:19 +00:00
Arvid Norberg fe5e88b548 natpmp close fix 2007-10-26 01:30:12 +00:00
Arvid Norberg 759a5a4ad9 fixed lsd typo 2007-10-26 01:28:42 +00:00
Arvid Norberg 33e8b670fc lsd close fix 2007-10-26 01:27:34 +00:00
Arvid Norberg 636d5f2005 upnp fixes and more debug asserts and more logging. Might fix #167 2007-10-26 00:47:30 +00:00
Arvid Norberg ee61db101e variant_stream fix 2007-10-26 00:43:28 +00:00
Arvid Norberg 5f89db91a3 query extra fields in torrent files without requiring exception handling 2007-10-24 18:15:13 +00:00
Arvid Norberg a1a564ef51 fixed debug issue with disk io thread 2007-10-23 22:11:17 +00:00
Arvid Norberg 49e71de64a improved web seed logging 2007-10-23 22:11:02 +00:00
Arvid Norberg 96ba6bc3b2 piece picker priority fix 2007-10-23 22:10:08 +00:00
Arvid Norberg f054ae7c2d made the handshake timeout configurable and defaults to 10 seconds 2007-10-23 00:19:28 +00:00
Arvid Norberg 2662c84f01 fixed issue when calling close on an uninstantiated variant_stream + variant_stream cleanup (removed unncessesary templates) 2007-10-22 22:53:31 +00:00
Arvid Norberg fcc238e801 lowered piece timeout and sends cancels for pieces when a time out occurs 2007-10-22 20:58:42 +00:00
Arvid Norberg ade50123c3 cleaned up unnecessary template functions 2007-10-22 10:54:48 +00:00
Arvid Norberg d3bce762c5 added timeout logging in verbose logging mode 2007-10-22 04:56:09 +00:00
Arvid Norberg 92d29334fa cleanup. doesn't allocate sockets on the heap for no reason anymore 2007-10-22 04:17:26 +00:00
Arvid Norberg 31e5716b03 fixed #186 and added a better test 2007-10-21 00:19:37 +00:00
Arvid Norberg 960df77d0a updated comment in configure file 2007-10-18 07:17:21 +00:00
Arvid Norberg a00f27b7ec some extra peer logging + fix for previous invariant check 2007-10-18 04:18:09 +00:00
Arvid Norberg b032c26bf0 adds invariant check to make sure pieces that are complete are also checked. adds a debug function in the disk_io_thread. Fixes a problem with a failing disk write that would not clear the block for re-download. Adds some extra session logging 2007-10-18 00:32:16 +00:00
Arvid Norberg d0ef85e802 fixed issue with failing async_accept on windows 2007-10-15 19:02:54 +00:00
Arvid Norberg a1356bdb7f intrusive_ptr_base fix 2007-10-15 17:56:22 +00:00
Arvid Norberg 5c61005eac python binding fix 2007-10-15 09:06:36 +00:00
Arvid Norberg ba48c629fb python bindings updates. Thanks andar 2007-10-15 05:37:35 +00:00
Arvid Norberg 1699fa4652 fast reconnect fixes 2007-10-15 05:03:29 +00:00
Arvid Norberg 282edb5861 windows vista detection to set the default half-open connection limit even lower 2007-10-15 01:15:58 +00:00
Arvid Norberg ac6cc4c75c made test_storage build with boost 1.33. Fixes #183 2007-10-13 18:29:02 +00:00
Arvid Norberg 78f0aaf654 applied patch from #184 2007-10-13 18:24:24 +00:00
Arvid Norberg db133610e1 fixes #182 2007-10-13 07:54:18 +00:00
Arvid Norberg 59c7f5bfbb added option to delete files from disk as a torrent is removed 2007-10-13 03:33:33 +00:00
Arvid Norberg 09bcb3ff2e removed unused left-overs 2007-10-12 22:28:52 +00:00
Arvid Norberg c6c77d8efc fixed so that peers only get one fast-reconnect 2007-10-12 01:12:30 +00:00
Arvid Norberg 64056a667f fixed encrypted support flag bug 2007-10-11 22:02:00 +00:00
Arvid Norberg f8d026efbc fixed typo 2007-10-10 19:02:42 +00:00
Arvid Norberg ff5887e15e applied patch to detect boost libraries in make files as submitted in #148 2007-10-10 07:15:26 +00:00
Arvid Norberg 28113c9c42 parole mode improvement. Doesn't clear out the request queue when choked by a peer on parole anymore 2007-10-10 02:27:55 +00:00
Arvid Norberg 995485daeb fixed destruction order issue 2007-10-09 22:17:16 +00:00
Arvid Norberg 0681d3fd61 fixed another fast resume bug 2007-10-09 07:26:57 +00:00
Arvid Norberg bd0a997854 fixed test_storage 2007-10-09 07:23:39 +00:00
Arvid Norberg ddc9511bbb removed useless asserts that triggered warnings on intel 2007-10-09 02:34:05 +00:00
Arvid Norberg ffe2e75882 added another alert to cover all cases where the torrent has to be checked at start, and tell the user why. Fixed a problem with the resume data generation introduced in last storage check-in 2007-10-09 00:25:01 +00:00
Arvid Norberg 4d19f7ff0f storage optimization. introduced a nother allocation mode: sparse. Now there is allocate, compact and sparse. Unless compact is used, the memory structures used to keep track of pieces are no longer allocated. sparse storage mode is now the default 2007-10-08 20:01:36 +00:00