Commit Graph

2538 Commits

Author SHA1 Message Date
Andrew Resch 5ca35b8ef3 update simple_client.py 2008-10-02 06:37:54 +00:00
Andrew Resch f8862302cc Add magnet_uri.cpp to the jamfile 2008-10-02 05:00:40 +00:00
Arvid Norberg dd40d24708 more stats assert fixes 2008-10-01 15:19:31 +00:00
Arvid Norberg 1092c558e4 counts newly started torrents as active up to 2 minutes, to give them a chance to start downloading. Active torrents are not considered slow in the auto manager. 2008-10-01 05:25:18 +00:00
Andrew Resch acdcb262af update session constructor in python bindings to support 'flags' 2008-10-01 02:07:55 +00:00
Arvid Norberg ba28449765 rename_file now creates missing directories before renaming 2008-09-30 23:55:45 +00:00
Arvid Norberg ef42e8f77c fixed rename_file to work when the file hasn't been created yet. Fixed error reporting when rename_file fails. Updates the file in the torrent_handle when filename is updated 2008-09-30 23:37:42 +00:00
Arvid Norberg dd256547a8 added test for mapped files 2008-09-30 19:59:45 +00:00
Arvid Norberg 6267a97843 removed iostream dependency, since mapped_storage is discontinued 2008-09-30 19:12:30 +00:00
Arvid Norberg dc3c5d0bd7 more fixes to not trigger the stat asserts 2008-09-30 18:52:53 +00:00
Andrew Resch ea11e415dc add torrent_info::metadata and metadata_size to python bindings 2008-09-30 18:41:43 +00:00
Andrew Resch 0670ed9d0e update python bindings 2008-09-30 16:05:08 +00:00
Arvid Norberg 0f6ec06e12 fixed race condition in invariant check in disk io thread (only affected debug builds) 2008-09-30 01:16:19 +00:00
Arvid Norberg 195521db65 prevent new connections when shutting down 2008-09-30 01:14:27 +00:00
Andrew Resch 892a953a21 add tracker_error_alert::msg to bindings 2008-09-29 23:12:11 +00:00
Arvid Norberg 48949c6518 changed names of CMake file options 2008-09-28 23:10:17 +00:00
Arvid Norberg d2bbe2cc4a fixed bug in error alert from http_tracker_connection 2008-09-28 07:26:05 +00:00
Arvid Norberg 9a2a10b2eb added example targets to CMakeLists 2008-09-28 00:26:49 +00:00
Arvid Norberg c80745ad13 experimental CMakeList file 2008-09-28 00:18:03 +00:00
Arvid Norberg 317d97b316 config fix for unicode builds on windows 2008-09-27 19:49:31 +00:00
Arvid Norberg 8989699e1e fixed invariant check when pausing a torrent 2008-09-27 04:58:40 +00:00
Arvid Norberg dabaff9980 fixed bug in recent udp_socket fix 2008-09-26 17:42:39 +00:00
Arvid Norberg 47c476dc0a include TCP handshake overhead 2008-09-26 06:10:21 +00:00
Arvid Norberg a93ae86d85 fixed bug in client_test when loading paused torrents 2008-09-26 00:26:35 +00:00
Arvid Norberg d4e0ea6c1e added assert to make sure #365 doesn't happen 2008-09-25 22:08:18 +00:00
Andrew Resch 4189e0b697 add peer_info::progress 2008-09-25 20:39:06 +00:00
Arvid Norberg a3751cfcbe fixed bug in peer_connection::incoming_piece() in case blocks were skipped. Fixed warnings. 2008-09-25 20:12:53 +00:00
Arvid Norberg 00415608f6 added assert in policy 2008-09-25 18:35:28 +00:00
Arvid Norberg bb674134e3 fixed bind_port for outgoing peer connections 2008-09-25 07:40:55 +00:00
Arvid Norberg 92bac424eb fixed typecast typo in file.cpp 2008-09-25 00:16:41 +00:00
Arvid Norberg 19b6525932 added documentation for new create_torrent constructor 2008-09-24 21:55:31 +00:00
Arvid Norberg 61af2370f3 fixed release build of udp_socket 2008-09-24 17:25:45 +00:00
Arvid Norberg 6d97d562f9 added another constructor to create_torrent that copies a torrent_info. 2008-09-24 17:05:12 +00:00
Arvid Norberg 0ae891118b fixed stats reporting in bt_peer_connection 2008-09-24 02:38:20 +00:00
Arvid Norberg 1f1b3b560e fixed typo in torrent_info.hpp 2008-09-24 02:37:04 +00:00
Arvid Norberg 519fdfdb36 portability fix for udp_socket 2008-09-24 02:35:03 +00:00
Arvid Norberg 80e9e8d1cf changed torrent::set_metadata() to reduce code duplication in metadata extensions. Exposed torrent_handle::set_metadata() to the public interface 2008-09-24 02:32:33 +00:00
Arvid Norberg df5e261ce8 fixed resume data loading for paused state 2008-09-24 02:29:24 +00:00
Arvid Norberg 2e0d0046d2 made torrent::replace_trackers() start or stop announcing depending on if trackers were added or cleared 2008-09-24 02:22:12 +00:00
Arvid Norberg bd44d730cc fixed bug in nat-pmp where it could access an out-of-bound vector element on shutdown 2008-09-24 02:20:13 +00:00
Arvid Norberg a36da15c29 saves sequential download in fastresume data 2008-09-23 03:52:49 +00:00
Arvid Norberg c0c65d8ee6 fixed bug in read_fast_resume regarding auto_managed flag 2008-09-23 03:21:35 +00:00
Arvid Norberg eaa071818e fixed typo in previous patch 2008-09-23 03:19:08 +00:00
Arvid Norberg 74593d6014 fixed deadlock in udp_socket 2008-09-23 03:09:08 +00:00
Arvid Norberg ba8163ca9c fixed bug in udp_socket when the sockets own lifetime was dependent on the callback 2008-09-22 23:43:21 +00:00
Arvid Norberg 67bed1407f fixed bug in broadcast socket (made local service discovery not work) 2008-09-22 17:43:57 +00:00
Arvid Norberg 791a1f4365 saves trackers and web seeds in fastresume data. Fixes #369 2008-09-22 17:39:18 +00:00
Arvid Norberg 8189262182 cosmetic improvement when printing bdecoded structures 2008-09-22 17:37:12 +00:00
Arvid Norberg ca4ab436d0 prioritize partials once they reach a certain threshold, to keep them from growing 2008-09-22 00:41:36 +00:00
Arvid Norberg 1ac3b8298c report tracker bandwidth usage and include it in rate limiter 2008-09-22 00:15:05 +00:00