Commit Graph

460 Commits

Author SHA1 Message Date
Arvid Norberg e5f980d80d merged uTP branch into trunk (yay) 2010-11-29 01:33:05 +00:00
Arvid Norberg af6ac4aca9 some solaris build fixes 2010-11-28 00:26:33 +00:00
Arvid Norberg f21251cba8 limit number of torrents tracked by DHT and support DHT name lookups 2010-11-27 03:09:28 +00:00
Arvid Norberg fa80c95d62 unit test for parsing IPv6 urls with port 2010-11-27 02:08:10 +00:00
Arvid Norberg 894db973e8 optimized memory usage of torrent_info and file_storage 2010-11-24 23:49:22 +00:00
Arvid Norberg 12d19f15e0 fix test 2010-11-16 06:43:29 +00:00
Arvid Norberg 84f572aa49 don't allocate too much memory on the stack in web seed test 2010-11-08 08:50:30 +00:00
Arvid Norberg 02e15202f2 support dht nodes in magnet links 2010-11-07 19:18:16 +00:00
Arvid Norberg 8737a339c8 refactored verbose peer logging to use format strings 2010-10-31 22:12:26 +00:00
Arvid Norberg c861d0344d fixed typo in unit test 2010-10-31 03:08:12 +00:00
Arvid Norberg f57e1dd622 chunked encoding fixes and added support for http seeds as well 2010-10-31 03:05:11 +00:00
Arvid Norberg 0773644a4e fixed web seed test to work with invariant checks turned on and fixed error reporting when receiving an unexpected responce for http seeds 2010-10-30 19:45:50 +00:00
Arvid Norberg a76570b563 deprecated a bunch of query functions on torrent_handle in favor of using status() to get as much information as possible in fewer calls, and saving time on synchronizing with the main thread 2010-10-30 17:23:30 +00:00
Arvid Norberg 0ef5d25d46 support 100 Continue HTTP responses 2010-10-29 07:56:07 +00:00
Arvid Norberg fc1b44b560 improve error reporting of lazy_bdecode to use error_code 2010-10-28 04:01:59 +00:00
Arvid Norberg d737dd051d added support for chunked encoding for web seeds 2010-10-27 06:39:18 +00:00
Arvid Norberg 7aa9352dd0 fixed file allocation issue on linux. fixed filname encoding issue with iconv() 2010-10-18 07:15:57 +00:00
Arvid Norberg 2ccf08e9b5 fixed bug in create torrent when adding sha1 file hashes to each file 2010-10-18 00:46:15 +00:00
Arvid Norberg 643a49f022 optimized session/torrent startup time (shaved off about 2 seconds) 2010-10-17 18:36:37 +00:00
Arvid Norberg 3948ca3179 fixed bugs in http seed connection and added unit test for it 2010-10-17 16:15:32 +00:00
Arvid Norberg 7bd25edc9d generalize SSL support to also include web seeds (and in theory regular peers) 2010-10-12 08:57:43 +00:00
Arvid Norberg 3b550ece98 don't save settings that are set to the default value 2010-10-10 02:22:57 +00:00
Arvid Norberg 6bb688f699 less printouts in test_transfer 2010-10-09 19:56:10 +00:00
Arvid Norberg 21cbd1fac4 deprecated setters for max connections, max half-open, upload and download rates and unchoke slots. These are now set through session_settings 2010-10-09 19:09:38 +00:00
Arvid Norberg 45f535e80c fixed build (with fresh boost) 2010-10-09 02:58:56 +00:00
Arvid Norberg 12b36ad9e0 don't run the test that requires proper NX_DOMAIN support if the internet connection doesn't support it 2010-08-28 20:32:58 +00:00
Arvid Norberg 02668e8f75 fix message posting to work from multiple threads 2010-08-26 17:00:24 +00:00
Arvid Norberg b44f71e217 post alerts for socks failures. fix unit tests 2010-08-25 06:22:49 +00:00
Arvid Norberg b747cdab8a merged all proxy settings into a single one 2010-08-23 06:27:18 +00:00
Arvid Norberg 2736a3b7ff fixed file checking bug 2010-08-23 05:51:12 +00:00
Arvid Norberg 897e615a86 optimized storage test 2010-08-08 07:53:47 +00:00
Arvid Norberg fd5f1bf80b improved SOCKS5 support 2010-08-03 09:08:37 +00:00
Arvid Norberg 97afe3fca8 added option to set file priorities when adding torrents 2010-07-15 01:14:36 +00:00
Arvid Norberg 4e576f93fd removed the session mutex for improved performance 2010-07-14 04:16:38 +00:00
Arvid Norberg 5bda58d230 fixed web seed unit test and cleaned up the RC_0_15 fix 2010-06-23 03:19:48 +00:00
Arvid Norberg 06190d8920 fixed bug in web_peer_connection which could cause a hang when downloading from web servers 2010-06-22 18:09:04 +00:00
Arvid Norberg 93bdc61410 fixed bug in bdecoder 2010-06-15 17:00:23 +00:00
Arvid Norberg 9fd624ecb6 solaris build fixes 2010-05-02 22:26:43 +00:00
Arvid Norberg 7ac4668948 more vs10 build fixes 2010-05-02 05:53:41 +00:00
Arvid Norberg fb28835452 slight performance fix in disk elevator algorithm 2010-04-24 21:53:45 +00:00
Arvid Norberg 54c451e513 improvements to test_transfer 2010-04-24 19:36:16 +00:00
Arvid Norberg a14a8b6e5f fixed an debug iterator assert in test 2010-04-02 20:48:09 +00:00
Arvid Norberg eceabd7d2f fixed escape string tests 2010-03-30 18:29:17 +00:00
Arvid Norberg 8fa2f26217 fixed bug in is_complete for windows 2010-03-21 17:40:15 +00:00
Arvid Norberg 786172455b added save resume action to client_test. potential small optimization in resume data save function 2010-03-20 22:00:13 +00:00
Arvid Norberg cb26c80103 fixed typos 2010-03-05 06:39:57 +00:00
Arvid Norberg 53acf4349e made some tests rely less on deprecated functions 2010-03-05 06:27:23 +00:00
Arvid Norberg 77c0fa5872 support multiple trackers in magnet links 2010-03-01 06:46:57 +00:00
Arvid Norberg 7b480efe68 fix piece picker test 2010-02-25 19:56:30 +00:00
Arvid Norberg 09a1023eb3 fixed issue with UDP over SOCKS5. Added a udp tracker to the unit test to make sure it works. Added tracker tests for all proxies 2010-02-18 04:37:02 +00:00
Arvid Norberg fb47469834 experimental support for the BitTyrant choking algorithm 2010-02-09 03:04:41 +00:00
Arvid Norberg 51c544c6bb fixed trunk build with DHT disabled 2010-02-05 08:40:08 +00:00
Arvid Norberg 64d52b26ca fixed windows upnp test. added test for is_space 2010-01-24 17:31:06 +00:00
Arvid Norberg 1700b05d9e fix storage unit test to work with new disk IO job sorting code 2010-01-24 03:33:01 +00:00
Arvid Norberg a47c40d7fa fixed web server tests to not require a fixed port. Should be much more likely to pass now 2010-01-23 23:57:11 +00:00
Arvid Norberg a046850130 support disk I/O priority setting 2010-01-23 03:02:32 +00:00
Arvid Norberg a641f66258 use alert_cast instead of dynamic_cast in unit tests 2010-01-18 07:02:56 +00:00
Arvid Norberg 11cd7af4e7 optimized DHT routing table memory usage 2010-01-03 11:08:39 +00:00
Arvid Norberg 0350e86867 fixed web seed unit test 2009-12-29 17:49:24 +00:00
Arvid Norberg 8154ca3c7c more http test fixes 2009-12-25 22:18:14 +00:00
Arvid Norberg ef6c143e74 fixed web seed unit test 2009-12-25 16:00:15 +00:00
Arvid Norberg 310a4b8012 fix shutdown issue in web server unit test 2009-12-17 08:50:35 +00:00
Arvid Norberg 6298322b1d service disk-read requests that hit the cache immediately and circumvent the elevator ordering 2009-12-16 10:49:15 +00:00
Arvid Norberg 2055426c52 fix trunk build and tests build without exceptions 2009-12-16 10:42:34 +00:00
Arvid Norberg 96cedc9b5f more beos fixes 2009-12-15 13:11:07 +00:00
Arvid Norberg cee7f2a809 dropped dependency on lighttpd for the tests 2009-12-05 23:41:33 +00:00
Arvid Norberg c32b40c739 fixed test_swarm build 2009-12-05 23:08:16 +00:00
Arvid Norberg df928764e2 reorganized error codes 2009-12-05 23:03:48 +00:00
Arvid Norberg 1d04c4dcd0 added session saving and loading functions 2009-12-03 05:11:57 +00:00
Arvid Norberg bd881ac154 fixed more link issues on windows. examples build with shared linking on windows 2009-12-02 17:46:25 +00:00
Arvid Norberg 2d627c1f9d optimized local peer discovery unittest 2009-12-02 02:51:26 +00:00
Arvid Norberg 3fb05a13b1 fixed DLL link issues 2009-11-30 07:03:34 +00:00
Arvid Norberg 1f5859d31f error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes 2009-11-29 07:06:38 +00:00
Arvid Norberg d78af0d171 make tests build without IPv6 support 2009-11-27 21:41:24 +00:00
Arvid Norberg 8dd244581d header optimizations 2009-11-26 05:45:43 +00:00
Arvid Norberg 6343fe6a6d optimized header dependencies to lower build time 2009-11-23 08:38:50 +00:00
Arvid Norberg 233071cfe0 added test to make sure trackers are saved and restored from resume files 2009-11-20 17:23:09 +00:00
Arvid Norberg 5fa73ed7ce fix for metadata extension test 2009-11-14 20:47:03 +00:00
Arvid Norberg 8fdeeb0497 don't replace invalid path characters in non-path strings 2009-11-13 02:50:07 +00:00
Arvid Norberg 693fc96e5b made test use internal file class instead of ofstream 2009-11-09 16:48:16 +00:00
Arvid Norberg e9320371b8 fixed filename function 2009-11-02 04:08:37 +00:00
Arvid Norberg 1c28444f94 fixed residual references to boost/thread. Removed memdebug (it doesn't work and tcmalloc is better) 2009-11-02 02:00:41 +00:00
Arvid Norberg 45ce870189 fix tracker test 2009-10-26 02:24:55 +00:00
Arvid Norberg c418165e07 replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability) 2009-10-26 01:29:39 +00:00
Arvid Norberg 4412e2f1f6 fixed test_trackers_extension 2009-10-25 21:48:32 +00:00
Arvid Norberg 8a5b7d5d36 got rid of the last recursive mutexes. abstracted the threading primitives (and switched over to use asio's internal ones). 2009-10-20 02:49:56 +00:00
Arvid Norberg 138fb8c679 extended DHT unit test to include error reporting 2009-09-27 17:41:51 +00:00
Arvid Norberg f36688a364 initial support for torrent tag store in DHT 2009-09-27 03:38:41 +00:00
Arvid Norberg 1017a716ef fix unit test 2009-09-27 01:33:36 +00:00
Arvid Norberg aafc0bab4e fixed test_natpmp build 2009-09-19 00:09:34 +00:00
Arvid Norberg 4fde3de683 remove dependency on lexical_cast in bandwidth limiter test (since it kept failing on snow leopard) 2009-09-18 07:00:40 +00:00
Arvid Norberg 0f62beebb3 improved compile time by moving rate limiter implementation to a cpp file and making it a non-template 2009-09-16 04:41:35 +00:00
Arvid Norberg 6c67da08d6 split socket.hpp up in multiple headers to lower build time somewhat 2009-09-16 03:46:36 +00:00
cristiangreco 2fd925a4ae Rewrite autotools build system (new configure.ac, changes for various
Makefile.am and fixed m4 scripts). Could still need some fixes.
2009-09-10 02:22:13 +00:00
Arvid Norberg 31d63ee5be replaces invalid filename characters with . and fixed the http_parser unit test in 0.14 2009-09-09 17:56:25 +00:00
Arvid Norberg 6d01cb475c msvc build fixes 2009-09-06 00:57:01 +00:00
Arvid Norberg bec481acdf improved disk read performance and fixed bug in storage_interface's backwards compatibility functions 2009-09-05 07:21:10 +00:00
Arvid Norberg c7b1d7e7d6 escape string fixes 2009-09-05 01:08:56 +00:00
Arvid Norberg 8c4cf8bffa fixed unit test for http_parser 2009-08-25 18:12:43 +00:00
cg25 f283065cfc completely drop BOOST_MULTI_INDEX_DISABLE_SERIALIZATION define from all build
systems as multi_index is no more used in src/file_pool.cpp.
2009-08-21 20:19:55 +00:00