Commit Graph

4401 Commits

Author SHA1 Message Date
Arvid Norberg
f82321c1dd add a backwards compatible lazy_bdecode() 2010-11-29 02:48:40 +00:00
Arvid Norberg
e5f980d80d merged uTP branch into trunk (yay) 2010-11-29 01:33:05 +00:00
Arvid Norberg
5a1669cf03 revert 2010-11-29 00:53:58 +00:00
Arvid Norberg
6018aaeb49 merge uTP branch back into trunk 2010-11-29 00:52:16 +00:00
Arvid Norberg
80611bd12c some settings save-fixes and reverting some unnecessary changes in the utp branch 2010-11-28 22:36:26 +00:00
Arvid Norberg
134dae1c8b add missing header files to makefile install 2010-11-28 18:47:20 +00:00
Arvid Norberg
df1372e04b disable slight memory optimization because it appears to cause leaks 2010-11-28 02:34:24 +00:00
Arvid Norberg
2e871382d7 add debug configuration to debug shutdown-stall bugs / outstanding async operations 2010-11-28 01:47:30 +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
4f24fe1e62 fixed bug when allow_multiple_connections_per_ip was enabled 2010-11-26 20:48:04 +00:00
Arvid Norberg
d1cb2d52ff fixed build issues with with vernose logging enabled 2010-11-26 20:44:48 +00:00
Arvid Norberg
27f84d1618 fixed minor error handling logging and assert issue in disk io thread 2010-11-26 20:38:31 +00:00
Arvid Norberg
ba5b0638c0 add feature to automatically close client_test after a specified amount of time (for scripting tests) 2010-11-25 23:35:43 +00:00
Arvid Norberg
93702052fb lower default delay when checking files in low-memory mode 2010-11-25 23:34:37 +00:00
Arvid Norberg
8ff9b6338b some fixes 2010-11-25 10:46:52 +00:00
Arvid Norberg
6917410d20 expose some missing torrent_status fields to the python bindings 2010-11-25 03:07:40 +00:00
Arvid Norberg
faccbd8ae3 introduce safety limit on total number of items in bencoded trees in lazy_bdecode. Document lazy_bdecode and its error codes. Make dump_torrent able to change the decoding limits 2010-11-25 02:49:50 +00:00
Arvid Norberg
26a2beee5e temporary commented out code 2010-11-24 23:52: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
7cd628e78d fix for unchoking optimistically unchoked peers 2010-11-23 20:36:27 +00:00
Arvid Norberg
d937716af0 use PtrToPtr64 for scatter/gather I/O operations 2010-11-22 00:54:39 +00:00
Arvid Norberg
d98a8b04a5 make storage constructor a boost.function for flexibility. Also added some documentation for trackerid 2010-11-18 17:36:11 +00:00
Arvid Norberg
a05acc4bac support trackerid tracker extension 2010-11-18 05:51:52 +00:00
Arvid Norberg
40ed231366 fixed tracker timeout handling 2010-11-18 01:06:33 +00:00
Arvid Norberg
12d19f15e0 fix test 2010-11-16 06:43:29 +00:00
Arvid Norberg
71d51b90e8 more size logging and potential fix for udp_tracker_connection leak 2010-11-16 06:41:35 +00:00
Arvid Norberg
8dbdd4ced4 expose set_alert_queue_size_limit to python 2010-11-15 05:34:52 +00:00
Arvid Norberg
62f8cac2b9 fixed typo 2010-11-15 05:15:43 +00:00
Arvid Norberg
8c404cc5c1 optimized memory usage of torrent_info 2010-11-15 05:10:36 +00:00
Arvid Norberg
79f6b5856b verbose logging fixes 2010-11-15 04:43:53 +00:00
Arvid Norberg
94a25a3953 fix one more assert (hopefully) 2010-11-14 10:57:10 +00:00
Arvid Norberg
2353cc8ec2 assert we don't ask for physical offset of a pad file 2010-11-14 08:17:27 +00:00
Arvid Norberg
26b48530d2 fixed some incorrect encryption asserts 2010-11-14 01:06:52 +00:00
Arvid Norberg
a4f533ce55 improve the bencoded printer 2010-11-09 18:13:22 +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
6ba977aa9b fixed bug in session_settings::disable_hash_checks 2010-11-07 21:41:03 +00:00
Arvid Norberg
02e15202f2 support dht nodes in magnet links 2010-11-07 19:18:16 +00:00
Arvid Norberg
b3c0fa9f45 fixed some graceful pause mode edge cases 2010-11-07 09:39:35 +00:00
Arvid Norberg
873febb894 don't flush every string printed to the log 2010-11-06 23:02:24 +00:00
Arvid Norberg
a2a2ac08a2 move queue_position and need_save_resume into torrent_status. optimized client_test to make fewer synchronous calls and pull more out of torrent_status 2010-11-06 18:04:07 +00:00
Arvid Norberg
80cfdc4fd8 dht assert fix 2010-11-06 17:01:21 +00:00
Arvid Norberg
173aa6b414 add torrent filters to client_test 2010-11-06 16:57:15 +00:00
Arvid Norberg
589c560a45 fixed build with boost-1.44 2010-11-06 16:16:00 +00:00
Arvid Norberg
1c7e5506e9 report stats on the number of dht request observers that are currently allocated 2010-11-06 07:12:57 +00:00
Arvid Norberg
d3a8916f02 further simplify the DHT by getting rid of the result type and just using observers instead. This might save some memory and should fix the assert that would be triggered before 2010-11-05 19:06:50 +00:00
Arvid Norberg
23ac52c164 simplify some DHT code and remove a dependency on boost.mpl 2010-11-05 03:12:57 +00:00
Arvid Norberg
dc639193db don't time out peers for inactivity if it's caused by a download rate limit or blocking on disk 2010-11-02 06:44:25 +00:00
Arvid Norberg
618f4dcc01 fix assertion failure with debug iterators when loading empty torrent files 2010-11-02 02:24:57 +00:00