Commit Graph

102 Commits

Author SHA1 Message Date
arvidn fe6473039c fix rate limit utp feature 2017-12-11 08:40:35 -05:00
Arvid Norberg a5af3b0dc5 Merge pull request #563 from arvidn/no-compact-1.1
remove remaining references to storage_mode_compact
2016-03-20 23:20:19 -04:00
arvidn f5c112eefc remove remaining references to storage_mode_compact (since it's been deprecated for quite a while now, and no longer implemented) 2016-03-20 18:25:24 -04:00
arvidn 0095aa084f make coalesce reads and coalesce writes actually work 2016-03-20 16:34:19 -04:00
arvidn dcd6af6473 more fixing of test_transfer proxy tests 2016-02-24 00:03:56 -05:00
arvidn d748a59029 attempt to fix test_transfer 2016-02-23 19:13:14 -05:00
arvidn 66c14e968b disable disk-full test, because it's flaky 2016-01-03 13:30:32 -05:00
arvidn a8e31fd8ca add first coverage of test_transfer as a proper sim 2015-11-28 00:59:39 -05:00
arvidn e3dad98fbe fix an old use of posix_category. make http_connection translate IPs into proper endpoints when connecting over socks (instead of passing the IP on as a hostname string). add test coverage 2015-11-24 00:39:02 -05:00
arvidn ebb9fdaf54 add error_code to torrent_status instead of error string 2015-11-05 20:43:23 -05:00
arvidn 5da511f140 now that force-started torrents aren't affected by the auto-manager, they need to be explicitly kicked when entering checking state (it would be nice if all this could be done through set_state()) 2015-09-29 20:49:38 -04:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
arvidn bd2bcf12bc fix bug on write-only disk errors (it's not supposed to stop the torrent) 2015-06-15 02:27:09 -04:00
arvidn 0d6e65ec24 improve reliability of some of the unit tests 2015-06-10 01:22:01 -04:00
arvidn 3f3b7d494c disable some redundant features in tests to make them not interfere with the test itself 2015-06-07 17:54:08 -04:00
arvidn b5a477d7fd split up some more tests into smaller test cases for easier diagnosing 2015-06-06 02:42:23 -04:00
arvidn 41533205be drop support for boost 1.35 and fix some more references to the asio namespace 2015-06-06 02:10:53 -04:00
arvidn 15dd15d0d6 fix no-deprecated build. extend .travis.yml to build the 3 test configurations too. rename README to README.rst 2015-06-05 02:31:52 -04:00
Arvid Norberg 5d6cba438d merged changes from RC_1_0 2015-06-02 01:14:52 +00:00
Arvid Norberg c8443d0c7c msvc fixes 2015-05-31 12:21:16 +00:00
Arvid Norberg f9c9d0ad0d merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile. 2015-05-30 04:31:23 +00:00
Arvid Norberg 3ea67e2bf5 move time_now_string out to the unit test library (basically unused in libtorrent itself) 2015-04-24 03:48:08 +00:00
Arvid Norberg 013ed36f09 landed alert_queue feature branch into trunk 2015-04-03 20:15:48 +00:00
Arvid Norberg c1dc982f4f deprecate the ptime type and related time types. just use boost::chrono / std::chrono 2015-03-12 04:34:54 +00:00
Arvid Norberg 7668bf5d4c downgrade some todo comments 2015-01-15 19:13:45 +00:00
Arvid Norberg 0f37e3403c transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings 2015-01-06 08:08:49 +00:00
Arvid Norberg ed9b281ea4 fix some unit tests 2015-01-03 20:17:38 +00:00
Arvid Norberg 24b9101075 merged changes from RC_1_0 2014-07-12 06:20:16 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg fa4c016d39 fix bug in udp_socket when changing socks5 proxy quickly 2014-06-30 08:41:33 +00:00
Arvid Norberg a0a41b6c5e merged file priority fix from RC_0_16 and keep the disk thread's file priorities up to date 2014-02-28 10:19:29 +00:00
Arvid Norberg 0398dfe498 merged storage allocation mode fix from RC_0_16 2014-02-07 08:58:52 +00:00
Arvid Norberg 077f728931 more test_transfer polish. fix issue where passing on our listen port depended on anonymous_mode, instead of use_proxy. not passing it on would break a few unit tests 2014-01-26 08:36:56 +00:00
Arvid Norberg 36c9add067 don't print stuff to stdout in debug builds. when waking up from completing a connection attempt, exit immediately if the connection is disconnecting, or disconnect if we're in graceful pause mode. some test cleanups 2014-01-26 08:18:13 +00:00
Arvid Norberg 34b83ddd71 make test_transfer much more likely to succeed 2014-01-24 09:31:47 +00:00
Arvid Norberg 9b0f022499 test_priority updates 2014-01-20 20:26:12 +00:00
Arvid Norberg e515dd5c25 unittest polishing 2013-10-14 07:09:57 +00:00
Arvid Norberg 145a2e74cb cleanup test_priority 2013-10-11 08:36:17 +00:00
Arvid Norberg 9ec2f48a6e split out test_priority from test_transfer 2013-10-10 17:00:32 +00:00
Arvid Norberg 4991a601c6 support proxy authentication in http.py and tests 2013-09-23 06:25:27 +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 f04b4da920 allow test_rate to take 7 seconds 2013-09-02 17:41:01 +00:00
Arvid Norberg 275c340231 make socket buffer sizes affect the udp socket as well. for high_performance_seed preset, set 1 MB socket buffers. only run test_rate() in proper release mode (without invariant checks and debug-iterators). lower the time limit of test_rate. update regression tests to disable invariant checks and debug iterators when building release mode 2013-09-02 09:24:34 +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 530596cea8 merged test_transfer fix from RC_0_16 2013-08-18 01:08:18 +00:00
Arvid Norberg 11fd428c46 make test_transfer fail faster 2013-08-04 04:04:44 +00:00
Arvid Norberg 626133defa be more forgiving of slow (or busy) hardware in test_transfer 2013-08-04 00:02:32 +00:00
Arvid Norberg 7d449b7d76 optimize test_transfer to fail faster 2013-08-03 23:44:03 +00:00
Arvid Norberg d72f0017b1 minor fixes 2013-08-01 16:15:02 +00:00
Arvid Norberg 93f9d4b3b0 test fixing 2013-08-01 08:03:11 +00:00