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 |
Arvid Norberg
|
0acd1200f3
|
fixed test_transfer
|
2013-08-01 03:50:57 +00:00 |
Arvid Norberg
|
4ecccb6fea
|
fix test_ssl and test_transfer
|
2013-07-30 07:13:12 +00:00 |
Arvid Norberg
|
68db0038e5
|
test_ssl and test_transfer polish
|
2013-07-30 04:30:19 +00:00 |
Arvid Norberg
|
beae6cece0
|
merged ssl fix from RC_0_16
|
2013-07-28 15:06:28 +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
|
208321dab0
|
improve test logging
|
2013-06-20 05:28:42 +00:00 |
Arvid Norberg
|
2c7d6a31cb
|
fix test_transfer when built without deprecated functions
|
2013-06-18 00:33:16 +00:00 |
Arvid Norberg
|
f91d83434b
|
don't print color output from tests (to make it work with some of the regression testing tools)
|
2013-06-14 16:38:26 +00:00 |
Arvid Norberg
|
982a14c2e9
|
extend move_storage functionality to have more flexible behavior
|
2013-05-09 02:50:16 +00:00 |
Arvid Norberg
|
431efc6157
|
merge storage fix from RC_0_16
|
2013-03-03 04:47:19 +00:00 |
Arvid Norberg
|
f6450b91bb
|
randomize proxy port to improve chances of unit tests passing
|
2012-06-09 16:58:16 +00:00 |
Arvid Norberg
|
dbf6b0a02c
|
fix bandwidth limiter issue for incoming connections (not associated with a torrent)
|
2012-06-08 04:28:37 +00:00 |
Arvid Norberg
|
26805c944c
|
converted use of deprecated functions in the tests
|
2012-03-19 04:02:13 +00:00 |
Arvid Norberg
|
af09935b87
|
some windows path fixes
|
2012-03-17 19:06:11 +00:00 |
Arvid Norberg
|
7f3aac3959
|
fix issue with unchoke_slots_limit not preserving its value correctly
|
2011-12-19 05:53:11 +00:00 |
Arvid Norberg
|
d1124574ef
|
fix test_transfer to set mixed mode to 'prefer_tcp' to avoid having it interfere with the send rate. optimize the test to run a lot faster. fix proxy to allow any protocol (fixes issue where test failed with http and https proxy). Bump the minimum rate limit to 20kB/s (from 5kB/s) in proportional mixed mode algorithm
|
2010-12-27 22:54:14 +00:00 |
Arvid Norberg
|
8c3ad6b4f3
|
asio debugging fixes and test_transfer fixes
|
2010-12-24 18:15:01 +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
|
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
|
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
|
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
|
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
|
54c451e513
|
improvements to test_transfer
|
2010-04-24 19:36:16 +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
|
96cedc9b5f
|
more beos fixes
|
2009-12-15 13:11:07 +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
|
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
|
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
|
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
|
51992dda6a
|
added new alert when individual files complete
|
2009-07-04 04:58:24 +00:00 |
Arvid Norberg
|
e9bd8f6e1f
|
turned fast-resume errors into error_codes. fixed typo in documentation
|
2009-06-28 00:36:41 +00:00 |
Arvid Norberg
|
cc3e6621ed
|
fixed rename_file() bug where the new name would not be saved in the resume data in some cases
|
2009-06-22 00:52:57 +00:00 |
Arvid Norberg
|
93e1c70263
|
allow 0 upload slots. added test for allow fast support for sending pieces to choked peers
|
2009-06-20 23:23:41 +00:00 |
Arvid Norberg
|
8c93ba1175
|
boost 1.35 fixes
|
2009-06-19 17:39:49 +00:00 |
Arvid Norberg
|
f09774607f
|
added upload mode
|
2009-06-18 22:32:55 +00:00 |
Arvid Norberg
|
5e87420b6f
|
set all piece priorities to 0 when a write fails
|
2009-06-10 09:20:55 +00:00 |
Arvid Norberg
|
242967a64d
|
test fixes
|
2009-04-30 01:44:50 +00:00 |
Arvid Norberg
|
bc9e58962b
|
optimized unit tests
|
2009-04-10 08:40:13 +00:00 |
Arvid Norberg
|
36eb9c4f51
|
move storage fix
|
2009-03-30 04:55:23 +00:00 |
Arvid Norberg
|
16bfde875d
|
tests don't need the default session features turned on
|
2008-12-20 23:06:06 +00:00 |
Arvid Norberg
|
f1d981254a
|
added session::set_alert_dispatch() for system specific message loop integration
|
2008-12-15 07:12:08 +00:00 |
Arvid Norberg
|
0d8f74cf78
|
fixed tests on windows and when built with iterator debugging
|
2008-11-02 09:03:04 +00:00 |
Arvid Norberg
|
add12da945
|
added test that exposes bug where priorities are cleared when a torrent is force-rechecked
|
2008-08-24 08:30:00 +00:00 |
Arvid Norberg
|
37389e4fe4
|
added test to measure peak download rate and introduced performance warning alert when disk buffer limit and request limit are reached
|
2008-08-19 15:04:14 +00:00 |
Arvid Norberg
|
893e9f2af6
|
fix bug in piece picker where set_piece_priority would return false even though the piece filter changed and updated test_transfer to catch it
|
2008-08-19 07:11:17 +00:00 |
Arvid Norberg
|
9266afe5f5
|
fixed bug where a torrent would not get into the 'finished' state right after file checking. It would either go to downloading or seeding. Also added test_transfer
|
2008-08-18 20:02:50 +00:00 |