Commit Graph

2523 Commits

Author SHA1 Message Date
Arvid Norberg d669d94f88 fix python binding with shared linking 2013-10-04 15:45:47 +00:00
Arvid Norberg 9d02b478a6 fix invalid read passed the allocation of peer_info in web_seed_entry 2013-10-04 04:20:50 +00:00
Arvid Norberg 620ae01862 fix annoying deprecation warning 2013-10-03 15:45:37 +00:00
Arvid Norberg 79a29d2bb0 fix valgrind build with stats logging enabled 2013-10-03 15:39:19 +00:00
Arvid Norberg 4ac3d286a5 back port check to not destruct session_impl from its own thread 2013-09-29 19:37:57 +00:00
Arvid Norberg 89c3db477d merge build fix with C++11 from RC_0_16 2013-09-25 19:44:29 +00:00
Arvid Norberg 93cd697d8f fix link error of test_dht 2013-09-17 08:46:50 +00:00
Arvid Norberg 908e29957e include error code in metadata failure alert 2013-09-14 10:09:30 +00:00
Arvid Norberg f1f89123e8 don't count pad-files as partial download pieces in the piece picker. prioritize which immutable dht items to keep also based on distance from our ID. remove some todo comments that probably should not be done 2013-09-14 10:08:31 +00:00
Arvid Norberg 1aa47fc13e add more utp statistics and make the congestion controller less aggressive when the up-link is not saturated 2013-09-14 10:06:48 +00:00
Arvid Norberg 39264c5ad3 introduce new, optional, get_peers mechanism that is more privacy preserving (doesn't leak the info-hash to as many DHT nodes) 2013-09-09 07:08:02 +00:00
Arvid Norberg a780b8469d abstract generic_category() to build on boost-1.42 and older. fix some include issues in tests 2013-09-09 07:06:12 +00:00
Arvid Norberg 42ae69979f restore commented out function 2013-09-09 06:12:08 +00:00
Arvid Norberg 8ab8172cb7 improve DHT routing table to return better nodes (lower RTT and closer to target) 2013-09-09 04:16:52 +00:00
Arvid Norberg 288f203a92 fix missed function call in previous check-in 2013-09-06 05:44:38 +00:00
Arvid Norberg b28810a92e documented bitfield 2013-09-06 02:29:21 +00:00
Arvid Norberg 56f1fb42d8 fix ssl_stream typo 2013-09-03 18:14:17 +00:00
Arvid Norberg 4b0c4165d7 fix tests 2013-09-03 16:02:24 +00:00
Arvid Norberg 515cd24a8c if setting socket send or receive buffer size fails, reset it to the previous value 2013-09-03 08:39:30 +00:00
Arvid Norberg 12fd5be372 fix bug in ed25519 DHT signature verification. removed RSA code as it's no longer used. add CAS feature (compare and swap) to DHT put command. update dht_store documentation 2013-09-03 00:45:48 +00:00
Arvid Norberg f3684db153 added some documentation 2013-09-01 17:34:05 +00:00
Arvid Norberg dd192cfd3c split up test_primitives into more tests (in an attempt to get the link-time down within the regression test time limit) 2013-09-01 01:10:50 +00:00
Arvid Norberg 3afe6c23a0 merged tracker key patch from RC_0_16 2013-08-31 21:06:43 +00:00
Arvid Norberg 850b81e625 merged removal of AES code from RC_0_16 2013-08-31 20:23:58 +00:00
Arvid Norberg b6083fbc28 first steps towards supporting SSL over uTP. moved the TODO comment and made it describe the next step. Optimized session destruction in unit tests, hopefully shaving off a bit of test run-time (and now supports asio-debugging of unit tests) 2013-08-31 20:19:03 +00:00
Arvid Norberg 6a47271667 merge fix for deleting files from libtorrent_aio 2013-08-22 05:27:45 +00:00
Arvid Norberg 0f57615ea3 attempt at fixing shut-down hang 2013-08-21 15:55:24 +00:00
Arvid Norberg d5c715bf96 added missing asio-debugging mark-up 2013-08-21 15:41:19 +00:00
Arvid Norberg 919bc46422 fix key length issue 2013-08-19 08:07:54 +00:00
Arvid Norberg 1afc0c6740 a bunch of fixes to make test_web_seeds a lot faster, and fail slightly fewer tests 2013-08-19 03:54:45 +00:00
Arvid Norberg 6bd07fd65f pull in an ed25519 implementation and replace use of RSA in the DHT with ECC. fix up makefiles 2013-08-18 16:01:20 +00:00
Arvid Norberg 2971331f86 documentation fixes 2013-08-17 07:01:03 +00:00
Arvid Norberg a5db3ebaaf added some documentation 2013-08-17 02:00:41 +00:00
Arvid Norberg 3258d92f64 added documentations to headers 2013-08-16 05:07:09 +00:00
Arvid Norberg fd438be25d documentation cleanup 2013-08-12 16:24:37 +00:00
Arvid Norberg 3bd53f88ef fix build with internal_file_entry being deprecated without deprecated functions 2013-08-12 07:30:57 +00:00
Arvid Norberg 85bb6a1839 move create_torrent documentation into headers. deprecate API touching internal_file_entry 2013-08-12 03:18:43 +00:00
Arvid Norberg 49aba26f5c merged shutdown fix from libtorrent_aio 2013-08-12 00:51:49 +00:00
Arvid Norberg 7d7d0672c0 move storage_interface documentation into headers 2013-08-11 18:13:21 +00:00
Arvid Norberg 000addec8a more documentation polishing. the manual.rst is now also linked to the reference documentation 2013-08-11 16:57:33 +00:00
Arvid Norberg 6036cdcf6b move some documentation over to headers and make all links in reference documentation work 2013-08-11 06:04:24 +00:00
Arvid Norberg cad9bbebd2 moved session_settings documentation into header file 2013-08-10 22:15:02 +00:00
Arvid Norberg 6a1e861a1d introduce mechanism for plugins to prevent libtorrent to disconnect peers for time-out reasons 2013-08-09 07:55:12 +00:00
Arvid Norberg d42e43f61d fixed deprecation warning 2013-08-09 07:36:07 +00:00
Arvid Norberg 0bdd4fc8f0 moved alert documentation into headers 2013-08-09 01:44:42 +00:00
Arvid Norberg e5d6642582 merged encoding issue fix from RC_0_16 2013-08-08 04:32:54 +00:00
Arvid Norberg fc68f28848 moved more documentation over from manual to headers 2013-08-08 02:57:07 +00:00
Arvid Norberg 28cdc639fa move more documentation into headers 2013-08-08 01:03:54 +00:00
Arvid Norberg 4c0caa4ba1 moved peer_info documentation into the header file 2013-08-07 07:19:17 +00:00
Arvid Norberg 6abfce3970 move torrent_status documentation into the header 2013-08-07 06:37:51 +00:00
Arvid Norberg 1a6a23e6ce add missing include 2013-08-06 03:40:22 +00:00
Arvid Norberg 55ed312b76 move torrent_handle documentation into header file 2013-08-06 02:50:57 +00:00
Arvid Norberg 3aeeb56d47 moved error code documentation to the header file 2013-08-05 06:08:10 +00:00
Arvid Norberg 3dcc7d5f8b automatically generate links in reference documentation for symbols (classes, enums, enum values, functions and member functions) 2013-08-05 05:26:15 +00:00
Arvid Norberg a3d56671fe fix reference documentation generation 2013-08-04 09:02:19 +00:00
Arvid Norberg f7ec370723 extend peer_plugin to also be notified of disconnects and successful connect events 2013-08-03 23:31:43 +00:00
Arvid Norberg 9319c1e073 make it possible to add torrent plugins via add_torrent_params 2013-08-02 09:42:51 +00:00
Arvid Norberg 755cdd00ff regenerated docs 2013-08-02 09:32:41 +00:00
Arvid Norberg 7ad58eba93 renamed big_number -> sha1_hash 2013-08-02 05:26:13 +00:00
Arvid Norberg e7db8d37a2 merge deprecation of wstring overloads from RC_0_16 2013-08-02 05:03:22 +00:00
Arvid Norberg d72f0017b1 minor fixes 2013-08-01 16:15:02 +00:00
Arvid Norberg e1c4101817 improve peer_connect_alert 2013-08-01 00:44:14 +00:00
Arvid Norberg 7143a5dda1 merged fix from RC_0_16 2013-07-28 17:50:36 +00:00
Arvid Norberg beae6cece0 merged ssl fix from RC_0_16 2013-07-28 15:06:28 +00:00
Arvid Norberg 1cb0161f0e merge fix from RC_0_16 2013-07-26 16:59:10 +00:00
Arvid Norberg 7cbd54b327 move documentation from manual to headers 2013-07-26 06:11:10 +00:00
Arvid Norberg 13d6a20aec reintroduced declaration that was removed by mistake 2013-07-25 18:05:08 +00:00
Arvid Norberg 26fd67e808 moved documentation form manual.rst to headers 2013-07-25 07:07:09 +00:00
Arvid Norberg b0f73427d7 export time_now_string for unit tests 2013-07-25 06:31:29 +00:00
Arvid Norberg b759982cf6 more documentation polishing 2013-07-25 05:08:35 +00:00
Arvid Norberg 39935df784 move documentation from manual.rst to headers 2013-07-24 16:27:17 +00:00
Arvid Norberg f5f868ba68 fix parse error in xml parser 2013-07-24 07:13:26 +00:00
Arvid Norberg e7804d717f generate rst instead of html for reference documentation. This allows for RST markup in comments 2013-07-24 05:04:46 +00:00
Arvid Norberg be737976d4 fix upnp unit test 2013-07-23 01:54:46 +00:00
Arvid Norberg 158cb797c6 fix warning when building without IPv6 support 2013-07-22 15:50:19 +00:00
Arvid Norberg 1df950df1d documentation: hide internal functions, include inline functions, support section overviews, hide detail namespace 2013-07-21 21:23:21 +00:00
Arvid Norberg 8e3bb75cf1 fix build 2013-07-21 17:23:56 +00:00
Arvid Norberg 2e911ee344 documentation polish. hide internal functions and types 2013-07-21 15:47:30 +00:00
Arvid Norberg eb6a964463 moved more documentation into header files 2013-07-21 05:05:21 +00:00
Arvid Norberg 329ed1bdde moved declaration of time_now() into time.hpp 2013-07-21 05:05:00 +00:00
Arvid Norberg a832c5e3c4 started moving some documentation into the headers 2013-07-20 20:11:01 +00:00
Arvid Norberg bbe62564ad low level network primitives should not be exported. Moved enum_if into tests (since it uses internal functions) 2013-07-20 01:02:15 +00:00
Arvid Norberg 6aa5eca108 documentation tweaks 2013-07-19 23:53:57 +00:00
Arvid Norberg b6a917364f none of the internal file abstraction should be exported from the library 2013-07-19 23:53:32 +00:00
Arvid Norberg 3c7503beaa remove unused member of alert_manager 2013-07-19 23:31:44 +00:00
Arvid Norberg b8143b46d3 tidy up time.hpp a bit 2013-07-19 23:17:17 +00:00
Arvid Norberg 24ea524731 is_hex should not be exported 2013-07-19 22:47:17 +00:00
Arvid Norberg b7816ff281 print_entry should not be exported 2013-07-19 22:26:07 +00:00
Arvid Norberg facbf9c178 don't expose load_file as a public function 2013-07-19 21:41:33 +00:00
Arvid Norberg a401aa0337 cleaned up public interface by removing some symbols from the exported set 2013-07-19 19:06:27 +00:00
Arvid Norberg 3fcd67b574 minor rearranging and comments 2013-07-19 16:30:26 +00:00
Arvid Norberg 4cacb5f351 merge fix from RC_0_16 2013-07-17 20:23:30 +00:00
Arvid Norberg 9c9135bfc4 don't use pointers to resume_data and file_priorities in add_torrent_params 2013-07-17 20:21:48 +00:00
Arvid Norberg a571f361a2 merged fixes from RC_0_16 2013-07-16 15:55:14 +00:00
Arvid Norberg 5602b1d709 merged build fix from RC_0_16 2013-07-09 06:27:48 +00:00
Arvid Norberg b03300201b fix release build 2013-06-29 05:53:17 +00:00
Arvid Norberg f41ceab27c fix dynamic link issue with libtorrent_error_category 2013-06-24 00:14:17 +00:00
Arvid Norberg 70ab33d21c merged gcc build fix from RC_0_16 2013-06-21 23:00:34 +00:00
Arvid Norberg 7d49a0d148 support glibc on freebsd 2013-06-20 01:11:23 +00:00
Arvid Norberg 61d1d7ea0e dll-export hasher when building unit tests. improve linker output parsing in test script 2013-06-19 16:42:10 +00:00
Arvid Norberg 6bc908fd49 merged anonymous mode fix from RC_0_16 2013-06-12 07:57:13 +00:00
Arvid Norberg 8f3723cdef support renaming files to absolute paths 2013-06-09 22:30:02 +00:00
Arvid Norberg a75a0581e3 improve error message for listen_failed_alert 2013-06-04 00:35:42 +00:00
Arvid Norberg c9fae9c0ed introduce rss_item_alert, posted for each new RSS item 2013-06-02 02:48:57 +00:00
Arvid Norberg 93993002ab merged unchoke algorithm fix from RC_0_16 2013-06-01 22:33:11 +00:00
Arvid Norberg ad8c105a24 merged fix from RC_0_16 2013-05-26 21:36:20 +00:00
Arvid Norberg 9db408b416 merged UDP SOCKS5 fix from RC_0_16 2013-05-24 06:28:46 +00:00
Arvid Norberg b6eb5d7476 debug invariant checks for DHT observer allocator 2013-05-17 03:19:57 +00:00
Arvid Norberg 360c6a6e16 introduced a new alert torrent_update_alert, for when a torrent_handle changes info-hash 2013-05-17 03:19:23 +00:00
Arvid Norberg 4c588eba3f merged fix from RC_0_16 2013-05-11 07:42:40 +00:00
Arvid Norberg 30683d4bde remove unused function with a bug in it. fix an unused variable warning 2013-05-10 04:47:56 +00:00
Arvid Norberg 0a2d78689b fix some unused variables warnings in extension.hpp 2013-05-10 04:35:23 +00:00
Arvid Norberg 982a14c2e9 extend move_storage functionality to have more flexible behavior 2013-05-09 02:50:16 +00:00
Arvid Norberg 0a525477e3 use apple's common crypto for sha-1 and add missing source file 2013-05-09 02:32:12 +00:00
Arvid Norberg 7f194b4542 move hasher implementation out of header file 2013-05-08 07:57:16 +00:00
Arvid Norberg f01169a68d merged python binding update from RC_0_16 2013-05-03 08:24:26 +00:00
Arvid Norberg 9e5edf3413 fix missing include 2013-04-13 21:03:14 +00:00
Arvid Norberg 520b8bfcd1 move out alert_manager to its own compilation unit. remove TORRENT_DISABLE_EXTENSIONS from affecting the public API 2013-04-09 02:38:11 +00:00
Arvid Norberg 8e772e8baf disable pool allocators does not affect libtorrent API 2013-04-09 01:18:42 +00:00
Arvid Norberg df4fcaaeed remove disable-dht build configuration from the public API (simplify linking) 2013-04-09 01:04:43 +00:00
Arvid Norberg 4395437c3b remove resolve countries build configuration from the public API (make linking easier) 2013-04-09 00:37:53 +00:00
Arvid Norberg 3142317b85 merge header fix from libtorrent_aio 2013-04-08 16:30:19 +00:00
Arvid Norberg d21243dc9f make release asserts build 2013-03-27 23:46:13 +00:00
Arvid Norberg 22b1c968a4 back-ported choking issue at high uplod rates 2013-03-26 04:45:38 +00:00
Arvid Norberg 8bc8c1abe8 merged implied_port from RC_0_16 2013-03-25 07:26:39 +00:00
Arvid Norberg be6afa74f3 optimized rate limiter by allowing peers to request more bandwidth while waiting on the socket 2013-03-24 18:00:58 +00:00
Arvid Norberg 372dd935f1 make disk cache pool allocator configurable 2013-03-21 01:18:39 +00:00
Arvid Norberg 74b7d676bc use posix_memalign on linux, not valloc 2013-03-18 15:46:43 +00:00
Arvid Norberg 56e4c48873 merged disk buffer pool change from RC_0_16 2013-03-17 17:13:34 +00:00
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 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 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 a0caa0f4b2 disable invariant_check functions when invariant checks are disabled 2013-02-25 04:13:46 +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 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 86a2569728 separate anonymous mode and force-proxy mode, and tighten it up a bit 2013-02-19 06:48:53 +00:00
Arvid Norberg b96b7067ba merged time critical piece fix from RC_0_16 2013-02-17 04:07:30 +00:00
Arvid Norberg e45c71dd30 merged sparse file fix from RC_0_16 2013-02-16 08:26:55 +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 b3b1180069 clean up uTP implementation by not using any timers 2013-02-06 04:38:30 +00:00
Arvid Norberg 5b48490005 fix logging build 2013-02-05 06:50:38 +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 8a55d7e32b merged fix for alerts.all_categories in python binding from RC_0_16 2013-02-03 00:07:42 +00:00
Arvid Norberg 327626b830 merged name resolver fix from RC_0_16 2013-02-02 23:59:11 +00:00
Arvid Norberg 2aacf1cd66 report errors in read_piece_alert 2013-01-29 02:18:32 +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 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 b3ef6011aa merged merkle torrent creation fix from RC_0_16 2013-01-21 07:33:48 +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 a67640bddb merged fix from RC_0_16 2013-01-20 19:35:47 +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 51e99ba3e5 extend DHT unit test and fix bug in routing_table bucket splitting 2013-01-18 06:17:30 +00:00
Arvid Norberg 2f0800523c merged DHT optimization from RC_0_16 2013-01-12 06:15:45 +00:00
Arvid Norberg c14916e119 unify session plugins and extension functors (internally) 2013-01-07 04:19:19 +00:00
Arvid Norberg 952c276dee fix mingw test link issue 2013-01-06 22:50:13 +00:00
Arvid Norberg 5b638c3c9e windows fix for ip-voter test 2013-01-06 19:53:17 +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 970ddba29b refactor find_disconnect_candidate_torrent to match libtorrent_aio 2013-01-02 07:39:02 +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 ac5a9e9882 introduce global connection priority for improved swarm performance 2012-12-31 06:54:54 +00:00
Arvid Norberg e2d14078ec make files deleted alert non-discardable 2012-12-23 07:01:50 +00:00
Arvid Norberg 40805503d6 merged python binding fix from RC_0_16 2012-12-14 04:38:44 +00:00
Arvid Norberg ae8e3bc04f fix openssl build 2012-12-10 10:43:39 +00:00
Arvid Norberg fc0b5da9ad make built-in sha functions not conflict with libcrypto 2012-12-10 08:05:39 +00:00
Arvid Norberg 9acaf06c75 merge comment fix 2012-12-05 06:11:02 +00:00
Arvid Norberg c065b1fa80 merged utf8 conversion fix from RC_0_16 2012-11-30 05:26:09 +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 8ebe11067f merged peerlist fix from RC_0_16 2012-11-21 20:42:40 +00:00
Arvid Norberg d2f72f50cc merged IPV6_V6ONLY fix from RC_0_16 2012-11-19 04:58:46 +00:00
Arvid Norberg 77a1090104 bump version 2012-11-18 04:32:22 +00:00
Arvid Norberg f12e1c1a3f merged DHT fix from RC_0_16 2012-11-16 22:25:39 +00:00
Arvid Norberg 5b26d5d962 merged utp_socket_manager optimization from libtorrent_aio 2012-11-12 09:49:00 +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 f3ec86169e merged swarm startup optimization from libtorrent_aio 2012-11-03 03:50:12 +00:00
Arvid Norberg 16630f94d1 merged fixes from RC_0_16 2012-10-21 20:24:14 +00:00
Arvid Norberg 281b7d4768 merged udp_socket fix from RC_0_16 2012-10-21 03:56:22 +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 3a2da49516 udp_socket fix 2012-10-18 07:34:39 +00:00
Arvid Norberg 6d7e9e4521 remove some iostream dependencies 2012-10-12 04:50:34 +00:00
Arvid Norberg 3555b01b85 merged utp_socket and simultaneous connections fix from RC_0_16 2012-10-10 04:40:18 +00:00
Arvid Norberg 09d7a49ad7 merged lsd patch from RC_0_16 2012-10-09 04:51:04 +00:00
Arvid Norberg 971aea19e7 merged local service discovery logging from RC_0_16 2012-10-09 04:16:37 +00:00
Arvid Norberg 9ed60479ce merged udp socket fix from RC_0_16 2012-10-07 23:34:44 +00:00
Arvid Norberg 35032a6950 merge verbose logging feature from libtorrent_aio 2012-10-06 23:45:36 +00:00
Arvid Norberg b81d1bfe08 merged web seed fix from RC_0_16 2012-10-06 17:51:59 +00:00
Arvid Norberg f5972efe9f merged finished alert asserts from libtorrent_aio 2012-10-06 17:50:06 +00:00
Arvid Norberg 83754b3427 merged post_torrent_updates assert from libtorrent_aio 2012-10-06 14:31:14 +00:00
Arvid Norberg e44225cb57 merged uTP fix from RC_0_16 2012-10-05 03:20:40 +00:00
Arvid Norberg 5bc322c031 merged get_torrent_info deprecation from libtorrent_aio, replaced by torrent_file() 2012-10-02 16:07:55 +00:00
Arvid Norberg bff648a89e update copyright dates and add tool to do so 2012-10-02 03:16:33 +00:00
Arvid Norberg acdb647eca merged udp tracker fix from RC_0_16 2012-10-01 00:13:58 +00:00
Arvid Norberg d181b2e057 merge pad_file_at optimization from libtorrent_aio 2012-09-30 20:55:12 +00:00
Arvid Norberg 32b4b5926a merged fix from RC_0_16 2012-09-30 19:35:08 +00:00
Arvid Norberg 33943f7184 merged set_version fix 2012-09-29 21:30:40 +00:00
Arvid Norberg c56901e864 improve web seed hash failure mode 2012-09-29 17:46:41 +00:00
Arvid Norberg 5e2ff1a246 merged logging cleanup from RC_0_16 2012-09-27 23:04:51 +00:00
Arvid Norberg b8149ead5c OS/2 (eCS) support 2012-09-24 16:13:57 +00:00
Arvid Norberg d098e49059 merged DHT feature from libtorrent_aio 2012-09-22 21:40:16 +00:00
Arvid Norberg 055f8a0598 merged DHT optimization from libtorrent_aio 2012-09-22 18:15:29 +00:00
Arvid Norberg 330aac4acb merged boost.system fix from RC_0_16 2012-09-22 05:18:10 +00:00
Arvid Norberg 0ec16827ff fix invariant check 2012-09-11 05:27:14 +00:00
Arvid Norberg 9951724f16 back-ported add_torrent_params extension from libtorrent_aio 2012-08-31 17:04:02 +00:00
Arvid Norberg 52f679d5dc add file_name() to file_storage 2012-08-31 02:31:37 +00:00
Arvid Norberg 64a56e4581 merged fix from RC_0_16 2012-08-30 01:54:35 +00:00
Arvid Norberg fdc25967c2 merged string function cleanup from RC_0_16 2012-08-26 15:26:17 +00:00
Arvid Norberg ad586df9fb remove comments of things that have been done in upstream branches 2012-08-22 00:56:38 +00:00
Arvid Norberg c60f373ae4 merged mingw fix from RC_0_16 2012-08-21 21:54:07 +00:00
Arvid Norberg 5d993dbc71 removed invalid function declaration 2012-08-21 03:10:20 +00:00
Arvid Norberg 4c61e86691 merged fix from RC_0_16 2012-08-20 14:57:57 +00:00
Arvid Norberg 9bdcadb7ad merged build fix from RC_0_16 2012-08-16 03:03:29 +00:00
Arvid Norberg 70d3170963 merged attempted build fix from RC_0_16 2012-08-16 00:48:13 +00:00
Arvid Norberg e357440fd9 fix windows build 2012-08-15 16:59:47 +00:00
Arvid Norberg 532e514c00 improve torrent file creator optimizer a bit 2012-08-12 21:18:38 +00:00
Arvid Norberg 0685fb91bd DHT throttling fix 2012-08-03 05:13:40 +00:00
Arvid Norberg c10c5aa369 remove redundant define 2012-08-01 03:04:26 +00:00
Arvid Norberg e51a30f3dd fix INT64_MAX build issue on linux 2012-07-31 16:39:12 +00:00
Arvid Norberg bcb22239bf polish windows build 2012-07-23 13:59:17 +00:00
Arvid Norberg eb3dd0ebb3 merged disk-stats build fix from RC_0_16 2012-07-17 16:15:09 +00:00
Arvid Norberg 0657690b1c attempt at fixing shutdown hang caused by connection_queue 2012-07-15 23:22:23 +00:00
Arvid Norberg 9f4697a11b merged udp_socket fix from libtorrent_aio 2012-07-15 02:16:02 +00:00
Arvid Norberg 377bba90fb merged connection_queue_fix from libtorrent_aio 2012-07-14 22:49:29 +00:00
Arvid Norberg 3d7dc768da use random peer IDs in anonymous mode 2012-07-08 22:47:25 +00:00
Arvid Norberg 7c7b927e07 improve connection distribution fairness between torrents 2012-07-04 20:41:22 +00:00
Arvid Norberg 1c2b7471cb fix one more issue with end-game mode when some pieces that are no longer selected for download have been downloaded 2012-07-02 03:27:32 +00:00
Arvid Norberg 7332f6b219 reduce some compiler warnings 2012-07-02 01:34:05 +00:00
Arvid Norberg bd4f173bc5 fix uTP edge case where udp socket buffer fills up 2012-07-01 18:44:46 +00:00
Arvid Norberg 96aa1f162b fix for udp_socket observers and some dht warning fixes 2012-06-30 15:30:38 +00:00
Arvid Norberg f403b5f3c8 fix move_storage bugs 2012-06-29 23:35:11 +00:00
Arvid Norberg df10b45ecc fix unnecessary dependency on boost.date_time that came from building asio as separate compilation 2012-06-28 16:59:57 +00:00
Arvid Norberg 4a2c799a1a always use SO_REUSEADDR and deprecate the flag to turn it on 2012-06-28 06:51:18 +00:00
Arvid Norberg 4ddbe44a0d fix bug in the udp socket observer use for DHT and add debug facilily for the observers 2012-06-25 03:31:11 +00:00
Arvid Norberg 60f501ca5d avoid incorrect assert in the DHT 2012-06-24 22:53:15 +00:00
Arvid Norberg 142786d6ed fix end-game mode when filtering pieces (i.e. deselecting files for download) 2012-06-24 20:57:31 +00:00
Arvid Norberg 3f1bfb5477 fix linux build and make use of the system INT64_MAX define 2012-06-24 19:50:49 +00:00
Arvid Norberg 7351f68b98 fix build with verbose logging and missing INT64_MAX on msvc 2012-06-23 05:46:51 +00:00
Arvid Norberg d73bbf5053 clean up the udp socket and its consumers by adding an observer interface and have the udp tracker, utp socket manager and dht tracker subscribe to it instead of going through the session_impl. This probably improves performance a tiny bit but primarily improves modularization and testability 2012-06-22 04:21:20 +00:00
Arvid Norberg 14c9d8d7e9 fix build issue 2012-06-22 02:33:07 +00:00
Arvid Norberg 2b9b2a188a remove uTP delayed ack and instead send acks when the udp socket has been drained. simplify the udp socket to use null_buffers and allocate less memory for buffers. this also eliminated the race condition when resizing the udp socket receive buffer which greatly simplified it 2012-06-21 15:05:57 +00:00
Arvid Norberg 3c0e7e0a4a keep counters of the number of active downloading and finished torrents in order to have a cheap way of prioritizing peer connections for downloading torrents over finished ones 2012-06-21 03:51:39 +00:00
Arvid Norberg 1db4fae595 merged patch from RC_0_16 2012-06-10 16:20:00 +00:00
Arvid Norberg fa1c071c2f merged fixes from RC_0_16 2012-06-09 04:48:53 +00:00
Arvid Norberg d6a53200a2 add a force-flag to cancel_request 2012-06-06 16:05:25 +00:00
Arvid Norberg 42a5185f24 merged fix from RC_0_16 2012-06-05 05:55:40 +00:00
Arvid Norberg f49bc42cae added missing license headers 2012-06-04 06:30:45 +00:00
Arvid Norberg b022772b4d merged fix from RC_0_16 2012-06-03 05:13:08 +00:00
Arvid Norberg d09e958166 add set_dht_settings to python bindings and fix include in bitfield.hpp 2012-05-28 17:54:20 +00:00
Arvid Norberg 314e08d90b added missing include file to makefile 2012-05-25 20:26:55 +00:00
Arvid Norberg 403c49ac29 factor out removing chunk headers from http streams and fix chunked encoding support when adding torrents by url 2012-05-16 05:32:12 +00:00
Arvid Norberg 5275e75fa5 back-port deletion of the redundant peer_connection constructor from libtorrent_aio 2012-05-14 05:43:45 +00:00
Arvid Norberg cc7ff1606c add unit test for seed optimization in piece picker and make it reliable in the presence of dont-have messages 2012-05-14 04:48:23 +00:00
Arvid Norberg 402d6bb6b6 optimize torrent::status to scale better with the number of peers 2012-05-06 22:46:21 +00:00
Arvid Norberg 511b9137b4 fix unused arguments warnings 2012-05-06 00:40:31 +00:00
Arvid Norberg 2c2bd49a4e fix build with disk stats enabled 2012-05-05 19:36:04 +00:00
Arvid Norberg cf49986e1a one more uninitialized member 2012-05-03 03:56:40 +00:00
Arvid Norberg 3a2916b578 initialize uninitialized members 2012-05-03 02:05:34 +00:00
Arvid Norberg 10b64a7761 add all_set() function on bitfield and automatically call inc_refcount_all or dec_refcount_all if all bits are set in a bitfield 2012-05-02 18:55:58 +00:00
Arvid Norberg bf3751640a fix multiple bitfields issue 2012-05-02 01:08:25 +00:00
Arvid Norberg 93b1a3478f added missing file 2012-05-01 05:45:05 +00:00
Arvid Norberg cec9a16cc1 back-ported observer for set_external_ip for DHT 2012-04-30 06:30:35 +00:00
Arvid Norberg 918dce1341 back-ported part of the alert_dispatcher patch for the DHT 2012-04-30 05:39:35 +00:00
Arvid Norberg 1c60ae4064 canonicalize paths when using UNC paths 2012-04-28 21:13:55 +00:00
Arvid Norberg c80e156120 expose print_backtrace in debug builds for the tests 2012-04-28 21:10:15 +00:00
Arvid Norberg f031bfa176 make it simpler to disable UNC paths 2012-04-28 16:23:16 +00:00
Arvid Norberg 2aadba290b fix dynamic link build 2012-04-27 17:19:51 +00:00
Arvid Norberg 2fc7f2191f is_seed() is not a good indicator of whether or not we have a piece picker. use has_picker() instead 2012-04-25 19:16:22 +00:00
Arvid Norberg 49f74be42f make super-seeding a bit more robust 2012-04-23 05:48:46 +00:00
Arvid Norberg a7f1d7df91 make torrent::have_piece support magnet links 2012-04-21 16:58:21 +00:00
Arvid Norberg b03e99ab40 fix DLL export issue on windows 2012-04-15 04:00:58 +00:00
Arvid Norberg 7f19e0d976 some more FreeBSD fixes 2012-04-15 02:20:23 +00:00
Arvid Norberg 7cf7243021 another FreeBSD fix 2012-04-15 01:02:55 +00:00
Arvid Norberg 48b85ba586 added more asserts in an attempt to track down invalid policy peer pointers in the piece picker. also fixed a web seed related crash when geoip support is enabled 2012-04-12 05:00:20 +00:00
Arvid Norberg 646f761c32 merged compatibility patch from RC_0_16 2012-04-11 16:35:16 +00:00
Arvid Norberg de7bad7774 merged makefile fix from RC_0_16 2012-04-11 06:37:10 +00:00
Arvid Norberg 9f0e892228 merged ban_web_seed setting patch from RC_0_16 2012-04-11 03:25:09 +00:00
Arvid Norberg 548bace889 merged changes from RC_0_16 2012-04-08 16:03:39 +00:00
Arvid Norberg a5a9006014 merged fixes from RC_0_16 into trunk 2012-04-07 00:35:25 +00:00
Arvid Norberg f714732eee merged fix from RC_0_16 to support older openssl 2012-04-06 04:11:04 +00:00
Arvid Norberg 9024209d51 merged set_settings race condition fix into trunk 2012-04-06 03:02:50 +00:00
Arvid Norberg 6acde24799 merged SSL fix from RC_0_16 2012-04-05 04:17:19 +00:00
Arvid Norberg 8135a6e3a2 fix piece_picker::max_pieces. it's still restricted by piece_block 2012-04-04 04:23:28 +00:00
Arvid Norberg 21b51afd5f merge windows fix from RC_0_16 2012-04-02 03:32:26 +00:00
Arvid Norberg 6fc580e0cb support torrents with more than 262000 pieces 2012-04-01 19:14:30 +00:00
Arvid Norberg b29b2314b2 improved shutdown delay debugging 2012-04-01 00:42:31 +00:00
Arvid Norberg 40db19ff7d fix build with release-asserts 2012-03-30 05:27:06 +00:00
Arvid Norberg 418c1e8190 make tracker back-off configurable 2012-03-29 03:51:22 +00:00