Arvid Norberg
426f555ce0
improve and extend the upnp unit test
2012-06-28 06:47:59 +00:00
Arvid Norberg
342a0b9306
merged UNC path fixes from libtorrent_aio
2012-06-16 23:23:36 +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
40284b2b99
update dht_sec definition
2012-06-07 16:29:20 +00:00
Arvid Norberg
c71c2ee3a5
fixed dht node-id unit test and update documentation
2012-06-06 17:06:46 +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
49a1398fe5
update dht_sec specification and the dht code
2012-05-31 02:16:44 +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
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
ada35c021a
improved multiple bitfield and have_all/have_none unit test and fixed peer_connection accordingly
2012-05-02 18:03:12 +00:00
Arvid Norberg
7c62a124ed
added unit test for receiving multiple bitfield messages
2012-05-01 03:24:38 +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
acff091cad
fix windows unit test build
2012-04-28 18:49:53 +00:00
Arvid Norberg
f7c6d9ce6c
make test_utp more likely to pass
2012-04-28 14:56:34 +00:00
Arvid Norberg
3cf7d0a7a2
make tests catch fatal signals and present a nice stack for the error
2012-04-21 05:54:49 +00:00
Arvid Norberg
de07505464
more asserts in piece_picker to validate peer pointers
2012-04-12 17:10:22 +00:00
Arvid Norberg
548bace889
merged changes from RC_0_16
2012-04-08 16:03:39 +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
21b51afd5f
merge windows fix from RC_0_16
2012-04-02 03:32:26 +00:00
Arvid Norberg
418c1e8190
make tracker back-off configurable
2012-03-29 03:51:22 +00:00
Arvid Norberg
2be6f990b4
add unit test for recent uTP fix
2012-03-25 05:40:00 +00:00
Arvid Norberg
4d60adcaa9
retry failed trackers a little bit sooner. make the exponential back-off not quite grow as fast
2012-03-24 15:15:36 +00:00
Arvid Norberg
6fcc469aef
support banning web seeds that send corrupt data
2012-03-24 01:29:31 +00:00
Arvid Norberg
00aa80a5fd
fix issue in web_peer_connection when the combined header size + chunk headers exceeds 1 kB
2012-03-23 04:35:35 +00:00
Arvid Norberg
bc851d317f
work on test_web_seed
2012-03-22 01:48:17 +00:00
Arvid Norberg
68cefe7d89
fixed bug in magnet link parser, and improved unit test
2012-03-21 16:27:50 +00:00
Arvid Norberg
26805c944c
converted use of deprecated functions in the tests
2012-03-19 04:02:13 +00:00
Arvid Norberg
cda69425f9
typo in dht test
2012-03-19 00:56:38 +00:00
Arvid Norberg
b1bb3fcc88
better support for dht test with no ipv6 support
2012-03-19 00:42:12 +00:00
Arvid Norberg
a2521bd23c
fix a bunch of issues to properly support dynamic linking of libtorrent with visibility=hidden. Still requires a small patch to boost
2012-03-18 23:31:04 +00:00
Arvid Norberg
8213814102
DHT fix
2012-03-17 19:27:57 +00:00
Arvid Norberg
af09935b87
some windows path fixes
2012-03-17 19:06:11 +00:00
Arvid Norberg
750801d25b
some more shared linking fixes
2012-03-15 17:17:10 +00:00
Arvid Norberg
64b599598c
minor fixes
2012-03-15 07:16:30 +00:00
Arvid Norberg
7b1a441aeb
attempt to make shared library builds to work with visibility=hidden
2012-03-15 06:08:08 +00:00
Arvid Norberg
341967dab7
improve magnet link support. in RSS feeds for instance. Parsing of magnet links was factored out and moved to the proper place, in session_impl::add_torrent
2012-03-08 09:54:44 +00:00
Arvid Norberg
98698380d9
added more diagnostics to test_tracker.cpp
2012-03-04 20:07:35 +00:00
Arvid Norberg
e3f484e78f
added unit test for unc paths on windows
2012-03-04 05:24:42 +00:00
Arvid Norberg
6144280fde
fix xml parser issue and the xml unit test
2012-02-27 07:02:11 +00:00
Arvid Norberg
8bb6635c94
improved rss unit test and fixed one incompatibility. added feature to save which feed items have been added, in order to not re-add them
2012-02-21 03:14:54 +00:00
Arvid Norberg
75fce84ce4
added unit test for RSS feeds and fixed a parsing bug
2012-02-20 07:51:36 +00:00
Arvid Norberg
065d75b02d
fix bug in file storage unit test, and the bug causing mapped files to not be restored correctly from resume files
2012-02-19 19:00:52 +00:00
Arvid Norberg
67b12dfb90
fixed off-by-one read error in xml-parser, and removed some unnecessary casts in the unit test
2012-02-18 09:54:49 +00:00
Arvid Norberg
5a23d04143
fix some clang warnings
2012-02-18 08:23:48 +00:00
Arvid Norberg
c384d00dbf
make bdecoder more robust when encountering errors (leave the resulting tree consistent)
2012-02-10 04:19:11 +00:00
Arvid Norberg
a9b6de413a
fix test_fast_extensions
2012-02-09 06:17:48 +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
413c04abcf
fixed windows network path recognition issue
2011-11-27 10:23:50 +00:00
Arvid Norberg
c279870516
add web seed support for torrents with pad files
2011-11-26 20:48:31 +00:00
Arvid Norberg
12d94246df
improve test error messages
2011-11-25 22:50:43 +00:00
Arvid Norberg
f234cf71d8
test update
2011-11-19 06:36:44 +00:00
Arvid Norberg
4d49d0f20d
windows storage fixes
2011-11-13 04:12:56 +00:00
Arvid Norberg
0f6b34c260
fixed unit test
2011-10-30 03:51:55 +00:00
Arvid Norberg
167fc021ac
fix unit test
2011-10-29 08:59:36 +00:00
Arvid Norberg
2741563711
set alert_mask early
2011-10-08 09:52:36 +00:00
Arvid Norberg
ba69b6ab15
convert test_pe_crypto to use stdio instead of iostream
2011-10-04 04:47:53 +00:00
Arvid Norberg
09017ed28e
fix unit test
2011-09-26 04:05:36 +00:00
Arvid Norberg
5ae23f5800
add unit test to make sure the next tier is tried in the tracker list when the one ahead of it fails
2011-09-25 23:29:23 +00:00
Arvid Norberg
4e1af65fe0
fix issue where event=stopped announces wouldn't be sent when closing session
2011-09-17 21:15:42 +00:00
Arvid Norberg
9a2fb2739c
fix test_fast_extension
2011-09-15 09:44:07 +00:00
Arvid Norberg
726f89ca99
(partially) fix test_web_seed
2011-09-10 05:36:38 +00:00
Arvid Norberg
92bcb9ebfd
feature to encrypt peer connections with a secret AES-256 key stored in .torrent file
2011-09-05 05:50:41 +00:00
Arvid Norberg
1c5399b736
piece picker optimization
2011-08-16 06:30:53 +00:00
Arvid Norberg
88441e4fdc
another attempt at optimizing piece picker
2011-08-14 23:16:12 +00:00
Arvid Norberg
9a22b1bf6d
fix unit test
2011-08-07 07:37:02 +00:00
Arvid Norberg
060b849dda
factor encryption handler a bit and add proposal for an authentication extension
2011-06-18 16:58:36 +00:00
Arvid Norberg
cfbd5bfc4b
extend magnet URI unit test
2011-05-25 16:26:39 +00:00
Arvid Norberg
2bb53ce6e8
fix non-openssl builds and improved error messages for mutable puts
2011-05-25 02:41:48 +00:00
Arvid Norberg
6fa1827c39
add support for mutable put/get functions in DHT
2011-05-25 02:26:07 +00:00
Arvid Norberg
5bbbf0cd41
add rsa sign and verification functions for future DHT extensions
2011-05-23 23:42:52 +00:00
Arvid Norberg
6830eb10a9
remove old search code from DHT. modify announce-item to fit with more recent proposal of get/put. Only immutable entries for now
2011-05-23 05:07:52 +00:00
Arvid Norberg
58d723012a
support DHT scrape
2011-05-23 00:45:36 +00:00
Arvid Norberg
6f127dd07b
fixed build with no deprecated functions
2011-05-01 19:28:13 +00:00
Arvid Norberg
a9cc2101c6
fixed bug with setting and getting file priorities
2011-05-01 17:43:15 +00:00
Arvid Norberg
c8434f56eb
extend the metadata unit test to make sure the metadata is forwarded to a 3rd peer
2011-04-29 02:46:05 +00:00
Arvid Norberg
cb3371dd7f
print even less in test_web_seed
2011-04-10 01:36:07 +00:00
Arvid Norberg
ad2f4d1697
print less in test_swarm.cpp
2011-04-10 00:41:16 +00:00
Arvid Norberg
6903e0495e
don't print so much in test_web_seed
2011-04-10 00:26:37 +00:00
Arvid Norberg
42863ca022
import testing framework in Jamfile
2011-04-09 23:50:33 +00:00
Arvid Norberg
7e3ccba939
don't log stats alerts in web seed unit test
2011-04-02 20:07:18 +00:00
Arvid Norberg
7e07f7469f
fixed bug in web_connection_base when receiving chunked encoding and made sure the unit tests pass
2011-03-24 16:46:26 +00:00
Arvid Norberg
929c31a757
fix pex unit test and shave off a few seconds for pex
2011-03-24 03:34:06 +00:00
Arvid Norberg
27c1bc632d
introduced pop_alerts() which pops the entire alert queue in a single call
2011-03-14 02:59:46 +00:00
Arvid Norberg
0d300cd09a
fixed test build and some clang warnings
2011-03-09 07:51:04 +00:00
Arvid Norberg
83e8700615
minor fixes
2011-03-01 21:57:03 +00:00
Arvid Norberg
48a009f1c5
fixed typo
2011-02-22 07:28:03 +00:00
Arvid Norberg
b69db24e30
use terminal colors on mingw
2011-02-22 03:32:07 +00:00
Arvid Norberg
141ada013f
fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way
2011-02-21 05:24:41 +00:00
Arvid Norberg
513914050c
fixed broadcast_lsd option. in trunk, redefined it to only broadcast every 8th packet
2011-02-16 10:16:52 +00:00
Arvid Norberg
3c05e81529
support for receiving multi announce messages for local peer discovery
2011-02-16 07:41:44 +00:00
Arvid Norberg
d73f4f0c92
improve print-out of fast extension test
2011-02-13 03:16:53 +00:00
Arvid Norberg
a42d42fd11
CPU optimization for end-game piece picker
2011-02-09 02:56:00 +00:00
Arvid Norberg
de28a57954
add back version in DHT packets
2011-01-23 02:02:04 +00:00
Arvid Norberg
8ebc3e7f1e
dht test cleanup
2011-01-22 18:44:48 +00:00
Arvid Norberg
6663f527da
fixed error handling in torrent_info constructor
2011-01-19 10:07:51 +00:00
Arvid Norberg
ba0aed2282
initial support for DHT RSS feeds
2011-01-19 05:57:44 +00:00
Arvid Norberg
3095b2367e
build fix for test_natpmp
2011-01-18 04:50:39 +00:00
Arvid Norberg
c223291fb4
added support for RSS feeds
2011-01-18 03:41:54 +00:00
Arvid Norberg
eec2672d26
fixed up some edge cases in DHT routing table and improved unit test of it. Primarily fixed issues where an IP could take over someone elses node ID and where an IP would change its node ID
2011-01-17 07:49:44 +00:00
Arvid Norberg
dccd029069
fix test
2011-01-08 09:04:05 +00:00
Arvid Norberg
ee7c713af7
support chunked encoding in http downloads (http_connection)
2011-01-06 04:08:57 +00:00
Arvid Norberg
00efc31bf6
various smaller fixes
2010-12-30 03:46:11 +00:00
Arvid Norberg
fbbdc46e19
make the utp test pass with full invariant checks enabled
2010-12-28 02:55:46 +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
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
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
Arvid Norberg
5b604e2a3a
timer fixes for http_connection
2009-07-26 02:17:21 +00:00
Arvid Norberg
193bccd84b
fixed missing include
2009-07-23 07:30:44 +00:00
Arvid Norberg
7445874028
fixed piece_picker test
2009-07-23 04:37:51 +00:00
Arvid Norberg
310b9d0e51
windows build fixes (and one msvc warning fix)
2009-07-20 01:54:51 +00:00
Arvid Norberg
7dd86daec8
run the upnp test by default
2009-07-18 20:54:47 +00:00
Arvid Norberg
51992dda6a
added new alert when individual files complete
2009-07-04 04:58:24 +00:00
Arvid Norberg
690467d4ee
turned test_upnp into a proper unit-test with a simple program acting as a UPnP router
2009-06-29 08:09:32 +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
10eb3fa00f
handle torrents with duplicate filenames
2009-06-26 16:20:57 +00:00
Arvid Norberg
fffda3c738
fixed tracker error race condition
2009-06-23 01:52:44 +00:00
Georg Rudoy
7bf5302e03
Fixed test_bandwidth_limiter test.
2009-06-22 16:24:47 +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
5ce7aed078
encodes urls in torrent files that needs to be encoded
2009-06-19 18:18:49 +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
3df15ad39e
fixed memory leak in disk io thread when not using the cache
2009-06-14 22:48:07 +00:00
Arvid Norberg
07bcb3545a
converted a whole lot of error strings into error_codes. Documented some previously undocumented alerts as well as all the error codes
2009-06-12 16:40:38 +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
f0134c1b11
improved disk error handling and expanded use of error_code in error reporting
2009-06-10 08:30:55 +00:00
Arvid Norberg
3fa0f7636b
made test_fast_extension more verbose
2009-06-10 06:31:31 +00:00
Arvid Norberg
f06fa3fbe8
fixed test_swarm with the new timer
2009-06-10 06:30:06 +00:00
Arvid Norberg
92a541035e
fixed inconsistent build requirement around entry::print()
2009-06-09 05:56:18 +00:00
Arvid Norberg
3e7bd46706
fixed handling of unaligned block requests
2009-05-31 19:33:54 +00:00
Arvid Norberg
9effe8a54a
fixed deadlock in http_connection. added two error codes for that class. Added more documentation on error_code
2009-05-30 18:50:38 +00:00
Arvid Norberg
eb2203abf5
fixed torrent file path vulnerability
2009-05-28 07:25:09 +00:00
Arvid Norberg
5dd72d21b6
added some output to test_storage
2009-05-25 17:25:55 +00:00
Arvid Norberg
79158abaca
fix piece_picker test
2009-05-25 04:38:31 +00:00
Arvid Norberg
e3c07c0934
converted some recursive mutexes to regular ones
2009-05-23 21:36:09 +00:00
Arvid Norberg
9507052797
don't build test_natpmp and test_upnp by default
2009-05-21 19:20:24 +00:00
Arvid Norberg
cb9c3cb37d
memory optimization for checking torrents
2009-05-21 16:15:05 +00:00
Arvid Norberg
87eb945811
fixed auto unchoke test
2009-05-15 22:36:44 +00:00
Arvid Norberg
062e1796c0
fixed crash when shutting down while checking a torrent
2009-05-13 17:17:33 +00:00
Arvid Norberg
ff3db926fb
allocates 10 disk buffers at a time instead of 32. Fixed bug where connection candidates would be too high
2009-05-06 07:06:26 +00:00
Arvid Norberg
06b609aa1f
fixed unchoke bug. made the automatic unchoke strategy the default
2009-05-02 03:15:52 +00:00
Arvid Norberg
6ca1c191b6
some windows fixes for dynamic linking
2009-04-30 17:30:14 +00:00
Arvid Norberg
3cf34e3a91
greatly optimised memory usage for peer list
2009-04-30 05:49:46 +00:00
Arvid Norberg
242967a64d
test fixes
2009-04-30 01:44:50 +00:00
Arvid Norberg
f21ecb7cc7
made web seed test work
2009-04-28 17:49:17 +00:00
Arvid Norberg
73262b126a
reorder tests to run the fast ones first
2009-04-26 00:32:19 +00:00
Arvid Norberg
748c4285f9
made test_bdecode_performance run in a more reasonable amount of time
2009-04-26 00:31:28 +00:00
Arvid Norberg
7109b86566
greatly simplified the rate limiter and generalized all rate limits (peer, torrent, global) to allow for arbitrary rate limit configurations
2009-04-26 00:21:59 +00:00
Arvid Norberg
f7ebd88bec
fixed an accuracy issue with timer classes on mac
2009-04-25 21:51:34 +00:00
Arvid Norberg
3c51ceb7c5
fixed bug when receiving keepalive message
2009-04-21 19:27:52 +00:00
Arvid Norberg
189d618261
improved IPv6 support (skips unsupported tests on windows)
2009-04-13 05:11:44 +00:00
Arvid Norberg
9b226daede
test to try to reproduce multiple connections to the same IPv6 address
2009-04-13 05:08:47 +00:00
Arvid Norberg
32a42bae99
removed some dependencies on stringstream
2009-04-13 04:22:03 +00:00
Arvid Norberg
91065d7a08
added unit tests for identify_client. replaced iostream for rendering. renamed 'Deluge Torrent' -> 'Deluge'
2009-04-12 18:46:07 +00:00
Arvid Norberg
066d6ce799
moved content-range parsing into http_parser and added unittest
2009-04-12 17:52:25 +00:00
Arvid Norberg
90ce06bb47
web seed fix
2009-04-11 20:45:14 +00:00
Arvid Norberg
408f181481
fixed test_pex
2009-04-10 21:25:37 +00:00
Arvid Norberg
bc9e58962b
optimized unit tests
2009-04-10 08:40:13 +00:00
Arvid Norberg
2b671bc820
more iostream fixes
2009-04-04 21:44:04 +00:00
Arvid Norberg
c6017f9366
reverted bug introduced a few check-ins ago. Fixed case when recursive_copy fails (don't remove the original files). Cleaned up callback dispatching in disk_io_thread in trunk. Improved unit tests for move_storage
2009-03-31 08:05:46 +00:00
Arvid Norberg
36eb9c4f51
move storage fix
2009-03-30 04:55:23 +00:00
Arvid Norberg
31054ef069
first implementation of set_piece_deadline
2009-03-17 09:34:44 +00:00
Arvid Norberg
1cdfe26630
Fixed bug when moving storage with files renamed to end up outside of the rood directory. Fixes Deluge bug http://dev.deluge-torrent.org/ticket/839
2009-03-17 09:31:30 +00:00
Arvid Norberg
13ca386838
improved support for sparse files on windows
2009-02-17 00:11:38 +00:00
Arvid Norberg
48a509d25c
added license to test_torrent.cpp
2009-02-11 01:50:17 +00:00
Arvid Norberg
2c68654994
fixed bug where mapped files were not restored properly from the resume data. Fixes #483
2009-02-09 06:19:31 +00:00
Arvid Norberg
1ac8f806fa
added seed mode support (lazy hash checking)
2009-02-03 07:46:24 +00:00
Arvid Norberg
8030454c96
fixes problem whith lexical_cast being locale dependent
2009-01-27 06:17:55 +00:00
Arvid Norberg
00808473e7
factor out disk_buffer_pool from disk_io_thread. refactored the file open modes to be platform independent. gave the disk_io_thread its own copy of session_settings that it shares with storage. added an unaligned_read implementation to storage. Added options to session_settings on when to open files in unbuffered mode. Added unit tests for unaligned reads
2009-01-21 07:31:49 +00:00
Arvid Norberg
0703054079
fix test_piece_picker to work with recently added speed_affinity flag
2009-01-19 09:47:18 +00:00
Arvid Norberg
6b379c7137
catch exceptions from TEST_CHECK
2009-01-19 09:30:38 +00:00
Arvid Norberg
d506bcd5de
prevent torrent optimization in unit test
2009-01-19 08:46:45 +00:00
Arvid Norberg
090502390f
updates to test_storage
2009-01-02 09:42:51 +00:00
Arvid Norberg
07a399d60d
test_piece_picker define fix
2008-12-28 20:09:16 +00:00
Arvid Norberg
6f80fdf9f7
fix bug when renaming files and using the web_peer_connection. Deprecated non-const file_storage access in torrent_info
2008-12-24 20:07:34 +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
b47f965c85
added torrent_handle::read_piece(). #441
2008-12-14 19:47:02 +00:00
Arvid Norberg
5fb854d724
improved super seeding with strict option
2008-12-09 07:56:37 +00:00
Arvid Norberg
b41cdd6469
initial super seeding support
2008-12-08 06:36:22 +00:00
Arvid Norberg
14c142d997
added add_piece() to inject data from external sources
2008-12-07 21:04:19 +00:00
Arvid Norberg
490ad37c43
fixes to unit tests
2008-11-30 06:10:37 +00:00
Arvid Norberg
acbdbfc1ef
added tracker exchange (tex) extension
2008-11-27 20:51:59 +00:00
Arvid Norberg
357d548bb5
fixed boost.filesystem usage to not rely on deprecated functions
2008-11-21 23:38:07 +00:00
Arvid Norberg
9406a8e08b
dht test fixes
2008-11-17 07:37:53 +00:00
Arvid Norberg
5e5643f7a7
test_http_connection fix
2008-11-14 07:59:54 +00:00
Arvid Norberg
3c1d73ef72
another test Jamfile fix to use the same configuration of libtorrent
2008-11-06 09:00:01 +00:00
Arvid Norberg
b47daff270
don't build with upnp logging for upnp and natpmp test, use the same configuration of libtorrent as the other tests by default
2008-11-06 08:37:33 +00:00
Arvid Norberg
359500da58
remove upnp-test from Makefile
2008-11-05 05:36:42 +00:00
Arvid Norberg
c6b793021d
make tests not depend on exceptions
2008-11-05 03:17:41 +00:00
Arvid Norberg
19660306e0
more exception defines
2008-11-03 04:23:16 +00:00
Arvid Norberg
bb02c7f985
fixed bug in upnp xml service parser introduced in last update
2008-11-02 21:11:00 +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
b663ab81a6
fix to test_web_seed
2008-11-02 00:26:13 +00:00
Arvid Norberg
ef8e2c6d50
fixed setup transfer for the test
2008-10-30 05:31:26 +00:00
Arvid Norberg
ce9d9c760c
updated upnp test
2008-10-28 22:00:34 +00:00
Arvid Norberg
0b47f69afd
upnp fix with unit test
2008-10-28 09:49:26 +00:00
Arvid Norberg
fd64702f31
add some slack to make tests more likely to pass
2008-10-21 08:16:14 +00:00
Arvid Norberg
85bde58902
fixed compile problem in test_bencoding.cpp related to std namespace
2008-10-18 07:37:15 +00:00
Arvid Norberg
528a009f7f
removed date-time and iostream from makefiles
2008-10-04 07:46:56 +00:00
Arvid Norberg
ef42e8f77c
fixed rename_file to work when the file hasn't been created yet. Fixed error reporting when rename_file fails. Updates the file in the torrent_handle when filename is updated
2008-09-30 23:37:42 +00:00
Arvid Norberg
dd256547a8
added test for mapped files
2008-09-30 19:59:45 +00:00
Arvid Norberg
6b2ee1ba28
when using safe iterators, test_pe_crypto would fail because it would be too slow
2008-09-16 23:33:34 +00:00
Arvid Norberg
5c5a836398
enabled debug iterators for test
2008-09-15 15:09:20 +00:00
Arvid Norberg
41808f8742
big change to improve piece picker. Better end-game mode. More options on which pieces to pick.
2008-09-06 21:04:57 +00:00
roman_rybalko
f9f7b689a3
automake build system fix: make dist always creates same dist regardless of configure parameters, test/Makefile.am made more clear
2008-09-02 11:14:10 +00:00
Arvid Norberg
5486e17b15
fixed bug in bitfield and updated test
2008-08-29 12:19:21 +00:00
Arvid Norberg
e9045cc1df
fixes bug where priorities where lost when force-rechecking.
2008-08-25 22:32:50 +00:00
Arvid Norberg
66ac9fe718
fixed http_connection test
2008-08-25 22:26:29 +00:00
Arvid Norberg
de907e17ff
enables alerts earlier in test_swarm
2008-08-25 21:23:21 +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
b72badd1b1
added test for checking files when some files are missing
2008-08-20 08:07:31 +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
Arvid Norberg
e8d691eed9
extended the test_torrent to torrents with 0 bytes
2008-08-17 11:42:57 +00:00
Arvid Norberg
aed9a00e44
tests are run with full invariant checks
2008-07-30 06:40:06 +00:00
Arvid Norberg
186561e5ff
fixed test_swarm
2008-07-20 21:32:20 +00:00
Arvid Norberg
81a88a774f
test_swarm fixes
2008-07-20 17:39:28 +00:00
Arvid Norberg
f754a18ecf
improved test_storage to report error conditions better
2008-07-17 15:08:29 +00:00
Arvid Norberg
a7ed5578b6
made the tests build again
2008-07-08 00:00:49 +00:00
Arvid Norberg
af0ebb519c
added copyright notices in files missing them
2008-07-01 18:59:13 +00:00
Arvid Norberg
9c84908bb9
switched resume data parsing over to use lazy_bdecode. Improves memory allocation performance, especially noticable when heap allocations are expensive. Makes it more practical to run with malloc debug. Changed resume data interface to take a vector as opposed to a parsed structure
2008-06-30 23:14:31 +00:00
Arvid Norberg
4271bb91d0
updated pe_crypto test to build
2008-06-29 18:55:23 +00:00
roman_rybalko
914dcac3d2
trunk:
...
moved to asio-1-0-0 from asio-head (get_asio & makefile fix)
tests moved to "check" target
2008-06-28 10:38:12 +00:00
roman_rybalko
f5e567f3c5
Ticket #357 fix
2008-06-28 10:11:20 +00:00
cg25
71c4f6f9b6
* improved --with-asio configure option behaviour;
...
* using -version-info flag instead of -revision one for the sake of correct
interface versioning;
* renaming library to libtorrent-rasterbar.so to avoind conflicting with other
libraries.
2008-06-23 00:09:12 +00:00
Arvid Norberg
9c94f54868
fixes for torrents with smaller pieces than 16kB
2008-06-18 12:34:39 +00:00
Arvid Norberg
3e000a3984
fixed save path updates when moving torrents. Fixes #310
2008-06-15 20:52:46 +00:00
roman_rybalko
5314b639e2
boost detection fixes: now able to launch with boost1.34 and boost1.35
2008-06-13 12:20:55 +00:00
Arvid Norberg
a4dfd63ca3
fixed piece picker bug related to sequential download, added unit test to expose it
2008-06-11 08:30:06 +00:00
Arvid Norberg
9d1e77dc88
optimized away torrent::m_have_pieces ( #62 ) and added some documentation on bitfield. The piece picker is now constructed with the torrent, but still freed when turned into a seed
2008-06-07 02:58:28 +00:00
Arvid Norberg
b4c160e723
fixed bug in web_peer_connection where an incorrect number of bytes would be reported as downloaded
2008-06-03 15:17:09 +00:00
Arvid Norberg
a0b7f080cd
boost 1.35 fix in test_buffer
2008-05-28 16:00:03 +00:00
Arvid Norberg
3910fe78de
separated file_storage from torrent_info and create_torrent
2008-05-28 08:44:40 +00:00
Arvid Norberg
68c31e48dc
replaced vector<bool> with a custom bitfield type
2008-05-28 02:35:02 +00:00
Arvid Norberg
523c48e069
boost-1.34 fix
2008-05-27 16:55:14 +00:00
Arvid Norberg
4338140c85
added test and fixed total_wanted issue for files > 2 GB
2008-05-27 08:07:59 +00:00
Arvid Norberg
8b03e338d6
lazy_bdecode fix. #336
2008-05-24 04:36:59 +00:00
Arvid Norberg
c5d61667b3
http_connection now supports connecting to all IPs a hostname resolves to, as fallbacks
2008-05-18 22:14:55 +00:00
Arvid Norberg
b952d85734
fixed error handling and added support for relative http redirects (which aren't allowed by the standard)
2008-05-18 04:48:06 +00:00
Arvid Norberg
7f639e57de
improved error handling with regards to parse_url_components. For trunk, moved that function to its own file
2008-05-17 14:19:34 +00:00
Arvid Norberg
5ec7da07e6
fixes #332
2008-05-17 00:27:26 +00:00
Arvid Norberg
8ed949c4d5
factored out torrent creation functionality from torrent_info into create_torrent. Modified torrent_info to use lazy_bdecoder for increased performance
2008-05-14 05:29:42 +00:00
Arvid Norberg
7bde9ef4a9
improved debug logging in regression tests
2008-05-12 07:01:25 +00:00
Arvid Norberg
e51c8bea37
added makefile support for boost.system ( #322 )
2008-05-11 22:43:44 +00:00
Arvid Norberg
c7e6c04705
switched over to asio from boost-1.35
2008-05-03 16:05:42 +00:00
Arvid Norberg
748a66c343
improvements to lazy_bdecode
2008-04-13 22:34:04 +00:00
Arvid Norberg
a3e7124614
added out stream operator to lazy_entry
2008-04-13 05:19:10 +00:00
Arvid Norberg
a70789872e
added string length to high performance bdecoder
2008-04-12 01:58:55 +00:00
Arvid Norberg
b300c7f835
added high performance bdecoder code
2008-04-11 03:41:09 +00:00
Arvid Norberg
2e6b9c2dce
revamped part of the port mapping code (UPnP and NAT-PMP). Added documentation for start_{lsd,natpmp,upnp} and stop_{lsd,natpmp,upnp}
2008-04-06 19:17:58 +00:00
Arvid Norberg
35fd9aec61
msvc build fixes and warning fixes
2008-04-05 21:18:27 +00:00
Arvid Norberg
4328326ca1
dht test fix
2008-03-31 03:56:38 +00:00
Arvid Norberg
cbec649327
dht test fix
2008-03-31 03:54:03 +00:00
Arvid Norberg
1782fa04cc
test jamfile fix
2008-03-23 05:33:47 +00:00
Arvid Norberg
8b6be335d5
fixed http_connection test
2008-03-22 20:53:18 +00:00
Arvid Norberg
c21a8a8fae
windows fix for unit test
2008-03-21 09:00:54 +00:00
Arvid Norberg
c8416cc79e
fixed http_connection test (stopped working with new echo semantics in leopard)
2008-03-21 05:54:01 +00:00
Arvid Norberg
def6248fac
corrected unintentional change in previous checkin
2008-03-20 02:40:15 +00:00
Arvid Norberg
5e1e92af7e
more verbose logging in test_fast_extension and avoids infinite loops in case of failures
2008-03-20 02:20:01 +00:00
Arvid Norberg
622f81aa18
test_swarm fix
2008-03-16 06:02:50 +00:00
Arvid Norberg
f8b2b60634
fixed bug in dht routing table. added unit test to trunk
2008-03-16 03:52:13 +00:00
Arvid Norberg
5b4590c6b1
made test swarm more likely to pass
2008-03-16 02:54:56 +00:00
Arvid Norberg
2cfbfd203f
made tests build and pass in trunk. fixed issues in trunk revealed by the tests. fixed failing torrent invariant check in trunk and rc0.13
2008-03-14 10:17:27 +00:00
Arvid Norberg
1a0f8d5cd5
updated makefile to build all tests
2008-03-04 08:04:09 +00:00
Arvid Norberg
cf5c9344ab
made peer connection order depend on ones external IP or be random (if we don't know our external IP). Should fix #281
2008-02-28 03:09:34 +00:00
Arvid Norberg
a25c25b02a
fixed windows build and removed msvc warnings
2008-02-25 10:28:53 +00:00
Arvid Norberg
c1c2fb4409
resume data unit test and fix
2008-02-25 05:07:29 +00:00
Arvid Norberg
1e71e76085
reverted check-in mistake
2008-02-24 23:15:25 +00:00
Arvid Norberg
1d1398ed7f
read cache fix
2008-02-24 23:14:10 +00:00
Arvid Norberg
7e83c3fc51
changed storage interface to not require exceptions
2008-02-14 03:48:20 +00:00
Arvid Norberg
8cf0510144
added disk cache for write operations
2008-02-08 10:22:05 +00:00
Arvid Norberg
c798ab30e1
rewrote the piece picker to be more cpu and memory efficient. replaces the concept of sequential-download-threshold with just a sequential download settings
2008-01-31 17:52:29 +00:00
Arvid Norberg
ee0e2ad51a
made the bandwidth test build again
2008-01-31 07:27:29 +00:00
Arvid Norberg
6caca17883
refactored gzip code and added gzip support to http_connection
2008-01-30 18:32:13 +00:00
Arvid Norberg
61bbc6e58f
initial https support for trackers and http_connection. Added support for proxies to http_connection
2008-01-27 22:39:50 +00:00
Arvid Norberg
d5d769f67d
fixed pex test
2008-01-27 20:45:00 +00:00
Arvid Norberg
127d3e6ad5
bandwidth limiter fixes. proper priority that cannot starve connections
2008-01-17 17:40:46 +00:00
Arvid Norberg
832c0c8b63
improved auto-unchoke mechanism
2008-01-15 08:37:48 +00:00
Arvid Norberg
81302c8fed
fixed http_connection redirection support and added test (still requires lighttp)
2008-01-12 01:41:56 +00:00
Arvid Norberg
630ad7cc85
updates to test
2008-01-08 05:46:20 +00:00
Arvid Norberg
e05f396a5d
made UPnP ignore devices that don't respond from a router IP (optional but on by default)
2008-01-07 05:48:28 +00:00
Arvid Norberg
2ea40a51a9
added tests for big_number (peer_id/node_id/sha1_hash)
2008-01-07 04:39:18 +00:00
Arvid Norberg
e6e051e7c5
improves logic to handle slightly broken .torrent files and added tests
2008-01-06 07:35:32 +00:00
Arvid Norberg
6c364731a9
updated tests
2008-01-05 06:55:17 +00:00
Arvid Norberg
14b49a08ee
fixed test_upnp
2008-01-03 19:03:52 +00:00
Arvid Norberg
fcd2408f11
fast extension fix, added some logging for fast extension messages, improved test to catch the problem
2008-01-02 03:18:29 +00:00
Arvid Norberg
ddf16fb3bb
separated bandwidth_manager into bandwidht_limit and bandwidth_queue_entry and fixed problems related to #225
2007-12-31 09:41:50 +00:00