Commit Graph

417 Commits

Author SHA1 Message Date
Arvid Norberg 451c583023 more robust mechanism to determine external IP 2010-12-24 01:31:41 +00:00
Arvid Norberg 3474346a3d stdout non-blocking fix for tests 2010-12-24 01:20:39 +00:00
Arvid Norberg c4422cd34e optimize test_transfer. fix set_upload_mode() bug for seeds. clean up some verbose logging. fix tests to not fail by EAGAIN on stdout 2010-12-24 00:37:01 +00:00
Arvid Norberg 47ec708f49 disable uTP for test_transfer (since proxy is not set up for UDP) 2010-12-20 00:20:56 +00:00
Arvid Norberg 1e82df3e45 support partial hash DHT lookups 2010-12-06 06:39:16 +00:00
Arvid Norberg 779014ddac support requesting UPnP and NAT-PMP routers for our external IP address 2010-12-05 20:40:28 +00:00
Arvid Norberg 2e69366b02 reverted part of the file_storage API to match the previous one more closly 2010-11-29 05:44:29 +00:00
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