Commit Graph

4247 Commits

Author SHA1 Message Date
Arvid Norberg 8d8d160b35 a bit more robust error messaging when deleting files in a torrent 2013-03-17 00:50:33 +00:00
Arvid Norberg d52a1f8c0a simplify logic for sending torrent_finished_alert and fix incorrect assert 2013-03-16 22:16:58 +00:00
Arvid Norberg 57e95879ec bump request queue sizes in high performance mode 2013-03-16 21:52:54 +00:00
Arvid Norberg 279ee66201 fix release with assert-debugging build 2013-03-10 20:41:26 +00:00
Arvid Norberg a2a4b61b5d fix library ABI to not depend on logging being enabled 2013-03-10 09:19:58 +00:00
Arvid Norberg b943a9b057 merged long-name truncation fix from RC_0_16 2013-03-08 09:56:19 +00:00
Arvid Norberg 83f626c18e fixed test_torrent_parse test 2013-03-05 00:32:57 +00:00
Arvid Norberg 0682272661 make libtorrent and examples build with deprecated functions disabled (with some slight performance improvements). use hex encoding instead of base32 in create_magnet_uri 2013-03-04 03:24:53 +00:00
Arvid Norberg 431efc6157 merge storage fix from RC_0_16 2013-03-03 04:47:19 +00:00
Arvid Norberg b07e7d8fe9 include name, save_path and torrent_file in torrent_status, for improved performance 2013-03-02 23:17:48 +00:00
Arvid Norberg de3dd9b0d9 merged assert fix from RC_0_16 2013-03-02 21:48:20 +00:00
Arvid Norberg 5033960045 merged fix from RC_0_16 2013-02-28 04:31:55 +00:00
Arvid Norberg 96c62bc4b8 merged fix from RC_0_16 2013-02-28 03:29:33 +00:00
Arvid Norberg 4241e279bd more torrent parsing unit tests and fixing some previously broken by changes to parse_url_components 2013-02-26 07:32:53 +00:00
Arvid Norberg ba6770ccd8 more torrent parsing unit tests 2013-02-26 05:57:29 +00:00
Arvid Norberg c40a35e90b uTP fix for loopback on mac 2013-02-25 05:09:35 +00:00
Arvid Norberg a0caa0f4b2 disable invariant_check functions when invariant checks are disabled 2013-02-25 04:13:46 +00:00
Arvid Norberg 775cf5570a improve unit test coverage and fix handling of some invalid .torrent files and invalid utf-8 sequences 2013-02-25 01:54:38 +00:00
Arvid Norberg 53990f4653 fix build warning 2013-02-24 18:45:30 +00:00
Arvid Norberg 6b3117d872 merged fix from RC_0_16 2013-02-24 18:42:20 +00:00
Arvid Norberg 7b53dd0491 fixed utf-8 verification bug and filename collision resolver 2013-02-24 10:16:57 +00:00
Arvid Norberg 3599b130c0 expand unit tests 2013-02-24 10:02:26 +00:00
Arvid Norberg 6faec32ebc don't send ipv4 and ipv6 to trackers 2013-02-24 01:00:20 +00:00
Arvid Norberg bf3b874cb4 use upper case hex digits in tracker key 2013-02-23 23:25:44 +00:00
Arvid Norberg 5bc3028291 make some stats more configurable and reorder some fields 2013-02-23 22:13:25 +00:00
Arvid Norberg 0c6654f484 merge change from RC_0_16 2013-02-23 06:40:27 +00:00
Arvid Norberg 8d9fa465d2 merge need_save_resume patch from RC_0_16 2013-02-20 08:10:31 +00:00
Arvid Norberg 5cf8aa57f4 anonymous mode should default to false. minor fixes 2013-02-19 08:14:16 +00:00
Arvid Norberg 86a2569728 separate anonymous mode and force-proxy mode, and tighten it up a bit 2013-02-19 06:48:53 +00:00
Arvid Norberg 907eca9ac3 merged documentation fix from RC_0_16 2013-02-17 22:56:39 +00:00
Arvid Norberg 71522f7f08 merge asio-debugging fix from RC_0_16 2013-02-17 04:54:10 +00:00
Arvid Norberg b96b7067ba merged time critical piece fix from RC_0_16 2013-02-17 04:07:30 +00:00
Arvid Norberg f93ee1dc06 merged identify_client update from RC_0_16 2013-02-16 18:29:09 +00:00
Arvid Norberg e45c71dd30 merged sparse file fix from RC_0_16 2013-02-16 08:26:55 +00:00
Arvid Norberg 5133fec4ca merged file error handling from RC_0_16 2013-02-13 18:03:59 +00:00
Arvid Norberg 6adbd75db8 merged streaming fix from RC_0_16 2013-02-11 05:39:03 +00:00
Arvid Norberg d63b82bb78 merged rename_file fix from RC_0_16 2013-02-09 21:50:22 +00:00
Arvid Norberg 0951219ab6 simplify the accounting of active_download and active_finished torrents 2013-02-09 05:56:31 +00:00
Arvid Norberg 0e6e943318 comment and invariant check 2013-02-07 06:41:11 +00:00
Arvid Norberg 2332b7047b merged boost.asio fix from RC_0_16 2013-02-06 09:35:22 +00:00
Arvid Norberg b3b1180069 clean up uTP implementation by not using any timers 2013-02-06 04:38:30 +00:00
Arvid Norberg f73fa778d6 slight refactoring to remove a dependency on session_impl in rpc_manager 2013-02-05 04:18:44 +00:00
Arvid Norberg 7607f20e2a add per-tracker scrape information to announce_entry 2013-02-04 07:17:31 +00:00
Arvid Norberg 327626b830 merged name resolver fix from RC_0_16 2013-02-02 23:59:11 +00:00
Arvid Norberg 09946aee26 merged fix from RC_0_16 2013-01-31 03:39:14 +00:00
Arvid Norberg 89acabce7e merged padfile change from RC_0_16 2013-01-30 08:33:34 +00:00
Arvid Norberg 07f9133ba9 merged piece picker fix from RC_0_16 2013-01-30 06:20:37 +00:00
Arvid Norberg 2aacf1cd66 report errors in read_piece_alert 2013-01-29 02:18:32 +00:00
Arvid Norberg ac5743cfbe respond with read_piece_alerts for time-critical pieces when checking as well 2013-01-28 07:42:51 +00:00
Arvid Norberg ff81a258af merged read_piece response for cancelled time-critical pieces, from RC_0_16 2013-01-28 07:27:44 +00:00
Arvid Norberg 42ee2869b1 merged file priority fix from RC_0_16 2013-01-28 04:57:35 +00:00
Arvid Norberg 7223bf17e5 DHT memory optimization 2013-01-28 04:00:23 +00:00
Arvid Norberg ecc42c0a78 merged utp fix from RC_0_16 2013-01-28 03:47:36 +00:00
Arvid Norberg 5b3a075387 polish peer-ranking feature 2013-01-28 02:13:25 +00:00
Arvid Norberg bca1d62bbe merged close_redundant_connections fix from RC_0_16 2013-01-27 21:25:06 +00:00
Arvid Norberg a35c32bc51 merged change from RC_0_16 2013-01-25 06:22:42 +00:00
Arvid Norberg 9ac63f9aba merged one more fix for GetOverlappedResult 2013-01-25 05:55:28 +00:00
Arvid Norberg 3d66e53ae3 merged GetOverlappedIO fix from RC_0_16 2013-01-25 05:53:17 +00:00
Arvid Norberg e8a53fceb2 merged assert fix 2013-01-22 04:50:18 +00:00
Arvid Norberg 13f2ae1154 fix resume torrent issue 2013-01-22 02:12:18 +00:00
Arvid Norberg 29c17c123e fix traversal algorithm leak in DHT 2013-01-22 02:04:58 +00:00
Arvid Norberg d6fecf4c34 make condition variable c++11 compatible 2013-01-21 22:52:34 +00:00
Arvid Norberg a301d119fa merged fix from RC_0_16 2013-01-21 18:54:45 +00:00
Arvid Norberg 2f995f77a8 fix the source context for todo-items 2013-01-21 16:25:43 +00:00
Arvid Norberg 2c3e4703fb merged torrent_handle::status fix from RC_0_16 2013-01-21 16:01:48 +00:00
Arvid Norberg d9b37f05cc merged changes from RC_0_16 2013-01-21 10:18:25 +00:00
Arvid Norberg 1bfa04eabc merged fix from RC_0_16 2013-01-21 10:16:34 +00:00
Arvid Norberg b3ef6011aa merged merkle torrent creation fix from RC_0_16 2013-01-21 07:33:48 +00:00
Arvid Norberg a50c6c9121 merged fix from RC_0_16 2013-01-21 05:13:33 +00:00
Arvid Norberg 0977848cca optimize file lookups in storage 2013-01-21 02:46:42 +00:00
Arvid Norberg f440bca2c4 use a condition variable in alert_manager to trigger wait_for_alert threads 2013-01-21 02:29:36 +00:00
Arvid Norberg 652bf8323b prioritize some more todo mark-ups 2013-01-21 01:40:59 +00:00
Arvid Norberg f1b8582a95 add gen_todo.py script. include todo.html and mark up some todos in the code with priority 2013-01-20 23:21:53 +00:00
Arvid Norberg d6279c86e3 fix dht announce prioritization 2013-01-20 19:54:54 +00:00
Arvid Norberg 9c7f685313 improve debug logging of dht routing table 2013-01-20 19:51:57 +00:00
Arvid Norberg aa9918a602 widen some fields in torrent 2013-01-20 08:36:34 +00:00
Arvid Norberg ab7369fee9 implement a sligthtly more aggressive DHT lookup mechanism 2013-01-20 07:54:54 +00:00
Arvid Norberg 8f682d2ff7 merged string encoding of error messages fix from RC_0_16 2013-01-19 06:39:32 +00:00
Arvid Norberg 3ddf55a686 update identify client 2013-01-19 02:25:25 +00:00
Arvid Norberg 51e99ba3e5 extend DHT unit test and fix bug in routing_table bucket splitting 2013-01-18 06:17:30 +00:00
Arvid Norberg 7f4ca24f8b merged fix from RC_0_16 2013-01-15 05:33:24 +00:00
Arvid Norberg 903efa1a9f merged DHT config fromRC_0_16 2013-01-14 02:42:44 +00:00
Arvid Norberg c87d26635b merged error handling fix from RC_0_16 2013-01-13 22:35:19 +00:00
Arvid Norberg e3595ee1c4 merged policy change from RC_0_16 2013-01-13 02:58:59 +00:00
Arvid Norberg cb0059d952 merged DHT timeouts from RC_0_16 2013-01-13 01:23:00 +00:00
Arvid Norberg 2f0800523c merged DHT optimization from RC_0_16 2013-01-12 06:15:45 +00:00
Arvid Norberg 5e57b13ac3 merged build fix from RC_0_16 2013-01-11 04:49:08 +00:00
Arvid Norberg 71653be7f0 merged ERROR_CANT_WAIT patch from RC_0_16 2013-01-10 03:22:49 +00:00
Arvid Norberg 66a9f31ebf merged pex fix from RC_0_16 2013-01-09 07:48:06 +00:00
Arvid Norberg 9dc873f70b potential crash fix in lt_metadata extension 2013-01-07 04:23:13 +00:00
Arvid Norberg 50d80f012b merged ut_metadata crash fix from RC_0_16 2013-01-07 04:20:45 +00:00
Arvid Norberg c14916e119 unify session plugins and extension functors (internally) 2013-01-07 04:19:19 +00:00
Arvid Norberg 1be837c6e4 merged build fixes from RC_0_16 2013-01-07 04:13:45 +00:00
Arvid Norberg 3788ed23ca improve support for windows XP and earlier 2013-01-07 01:56:40 +00:00
Arvid Norberg 5b638c3c9e windows fix for ip-voter test 2013-01-06 19:53:17 +00:00
Arvid Norberg d8c2228ff3 merged some windows fixes from RC_0_16 2013-01-06 18:38:33 +00:00
Arvid Norberg 38d7e58177 merge checking fix from RC_0_16 2013-01-06 04:53:26 +00:00
Arvid Norberg e45124fc22 back-port heavy weight refcount invariant checking from libtorrent_aio (disabled by default). and also backport piece-picker refcounting bug fix 2013-01-06 04:02:29 +00:00
Arvid Norberg cd4b38cfc3 fix bug in disconnect candidate torrent function 2013-01-02 08:09:21 +00:00
Arvid Norberg 5afa8c88b9 fix issues introduced with connection ordering 2013-01-02 07:48:09 +00:00
Arvid Norberg 970ddba29b refactor find_disconnect_candidate_torrent to match libtorrent_aio 2013-01-02 07:39:02 +00:00
Arvid Norberg c37420f82d fixed some typos 2013-01-01 23:43:52 +00:00
Arvid Norberg aab59d04c7 improve the external IP discovery to work with multiple external IPs (specifically IPv4 and IPv6) 2013-01-01 23:12:16 +00:00
Arvid Norberg 3d0e5484ee fix build 2013-01-01 19:15:41 +00:00
Arvid Norberg ac5a9e9882 introduce global connection priority for improved swarm performance 2012-12-31 06:54:54 +00:00
Arvid Norberg d7bef3dbf9 merged fix from RC_0_16 2012-12-31 03:12:11 +00:00
Arvid Norberg e2d14078ec make files deleted alert non-discardable 2012-12-23 07:01:50 +00:00
Arvid Norberg 806b7c85eb fix minor issue 2012-12-22 01:29:55 +00:00
Arvid Norberg 6ef8f5cfce merged bumped alert queue size 2012-12-16 17:46:20 +00:00
Arvid Norberg 0a07f75ee0 merged visibility fix from RC_0_16 2012-12-15 05:09:11 +00:00
Arvid Norberg 1422f5a1ba merged logging fix from RC_0_16 2012-12-15 02:50:47 +00:00
Arvid Norberg 40805503d6 merged python binding fix from RC_0_16 2012-12-14 04:38:44 +00:00
Arvid Norberg 70740a0ecd merged connection_queue patch from RC_0_16 2012-12-10 08:46:14 +00:00
Arvid Norberg 27db5e3f49 use random() instead of rand() 2012-12-10 08:08:20 +00:00
Arvid Norberg 5a23ca5855 add some asserts to utp_stream.cpp 2012-12-10 08:07:50 +00:00
Arvid Norberg fc0b5da9ad make built-in sha functions not conflict with libcrypto 2012-12-10 08:05:39 +00:00
Arvid Norberg fae3d23e27 merged minor IPv6 fix from libtorrent_aio 2012-12-02 17:58:32 +00:00
Arvid Norberg 00c1017f16 minor optimization in file_storage::map_file 2012-11-29 06:44:03 +00:00
Arvid Norberg 81ccc1e2e0 remove unused member in udp_tracker_connection 2012-11-29 06:27:25 +00:00
Arvid Norberg 205d70da3c merged uTP fix from RC_0_16 2012-11-25 07:03:37 +00:00
Arvid Norberg 08454e518a merged magnet link changes from RC_0_16 2012-11-23 16:10:26 +00:00
Arvid Norberg 614ac10de1 merged calling convention fix from RC_0_16 2012-11-23 15:34:44 +00:00
Arvid Norberg 8ebe11067f merged peerlist fix from RC_0_16 2012-11-21 20:42:40 +00:00
Arvid Norberg 6a3ee5a7cf whenever checking for EWOULDBLOCK, also check for EAGAIN 2012-11-20 02:08:12 +00:00
Arvid Norberg e23e417ef9 fix race condition in destroyed uTP socket that was waiting for the underlying udp socket to become writable 2012-11-20 01:58:09 +00:00
Arvid Norberg d2f72f50cc merged IPV6_V6ONLY fix from RC_0_16 2012-11-19 04:58:46 +00:00
Arvid Norberg f12e1c1a3f merged DHT fix from RC_0_16 2012-11-16 22:25:39 +00:00
Arvid Norberg e4bb337b49 merged utp fix from RC_0_16 2012-11-14 04:53:29 +00:00
Arvid Norberg 5b26d5d962 merged utp_socket_manager optimization from libtorrent_aio 2012-11-12 09:49:00 +00:00
Arvid Norberg 58d5b9aedc merged alert fix from libtorrent_aio 2012-11-12 06:08:06 +00:00
Arvid Norberg 52b205e6cb merged fix from RC_0_16 2012-11-11 05:07:19 +00:00
Arvid Norberg 816f405a15 make hash_value work on expired torrent_handles 2012-11-10 19:50:10 +00:00
Arvid Norberg 85cda6cf53 fixed logging build 2012-11-09 17:11:42 +00:00
Arvid Norberg 99e3fbaed5 merged utp performance fix from RC_0_16 2012-11-08 09:16:40 +00:00
Arvid Norberg 65e02c23e8 improve support for loading torrents out of resume files 2012-11-08 02:07:10 +00:00
Arvid Norberg 5d21c6a1f4 merged fix from libtorrent_aio 2012-11-04 03:08:43 +00:00
Arvid Norberg f3ec86169e merged swarm startup optimization from libtorrent_aio 2012-11-03 03:50:12 +00:00
Arvid Norberg 37f3a70da0 fixed build with no deprecated functions 2012-11-02 16:48:18 +00:00
Arvid Norberg 0327c73263 merged fix RC_0_16 2012-11-02 04:34:17 +00:00
Arvid Norberg 16630f94d1 merged fixes from RC_0_16 2012-10-21 20:24:14 +00:00
Arvid Norberg f61b95f782 fix preprocessor typo 2012-10-21 15:19:23 +00:00
Arvid Norberg 281b7d4768 merged udp_socket fix from RC_0_16 2012-10-21 03:56:22 +00:00
Arvid Norberg 63532b2c9b the sack header needs to be removed from a nagle packet or a re-sent packet if there are no longer any unordered incoming packets 2012-10-20 14:53:54 +00:00
Arvid Norberg 8ba970018c make bottled http requests response size limit configurable and bump default to 2 MiB 2012-10-19 01:28:47 +00:00
Arvid Norberg 01f70bfd84 add session logging function 2012-10-18 15:14:18 +00:00
Arvid Norberg 158f59cb22 merged fix from RC_0_16 2012-10-18 07:42:15 +00:00
Arvid Norberg 3a2da49516 udp_socket fix 2012-10-18 07:34:39 +00:00
Arvid Norberg ed4dfbc8fb use session_log function rather than iostream for session logging 2012-10-18 07:32:16 +00:00
Arvid Norberg 7f28c05161 merged udp tracker fix from RC_0_16 2012-10-17 15:54:38 +00:00
Arvid Norberg e4f15a2223 merged uTP fix from RC_0_16 2012-10-15 06:20:42 +00:00