1999 Commits

Author SHA1 Message Date
Arvid Norberg
357d548bb5 fixed boost.filesystem usage to not rely on deprecated functions 2008-11-21 23:38:07 +00:00
Arvid Norberg
3c90672b2f fixed upnp parsing problem #427 2008-11-21 18:23:44 +00:00
Arvid Norberg
723aba6c24 solved issue with pausing checking torrents. Introduced a new state, checkin_resume_data, which a torrent is in while waiting for the disk io thread to verify the resume data, but before it has been determined wheter it should be queued for checking or not 2008-11-19 00:46:48 +00:00
Arvid Norberg
78abf8a340 made recent change where the TCP/IP overhead is take into account when rate limiting, optional 2008-11-18 11:14:44 +00:00
Arvid Norberg
ce24a17308 minor checking torrent fix 2008-11-18 11:03:19 +00:00
Arvid Norberg
57c22bb214 complete support for pausing checking torrents 2008-11-18 11:01:30 +00:00
Arvid Norberg
70119a6b53 consider 0-sized piece messages to be reject messages 2008-11-17 19:29:14 +00:00
Arvid Norberg
51393dabdf fixed typo 2008-11-17 19:19:45 +00:00
Arvid Norberg
370ee02ef6 fixed incorrect assert when receiving a 0-size piece message 2008-11-17 19:12:34 +00:00
Arvid Norberg
4fed0cd542 comment about file name truncation 2008-11-17 18:31:42 +00:00
Arvid Norberg
30c0525ed5 truncates filenames that are too long (#412) 2008-11-17 08:01:35 +00:00
Arvid Norberg
f503bbfe86 fix for when aborting torrents that are being checked. Fix in client_test when removing torrents that are checking. 2008-11-17 01:19:46 +00:00
Arvid Norberg
de93105d51 pad file fix 2008-11-16 23:33:59 +00:00
Arvid Norberg
a48ffe36e0 improved natpmp logging and handling of mapped ports in session 2008-11-16 02:11:04 +00:00
Arvid Norberg
e9a33e6a05 added option to set alert mask when constructing session 2008-11-16 02:09:53 +00:00
Arvid Norberg
7e4d5dc72f avoid exception from boost.filesystem 2008-11-14 23:23:02 +00:00
Arvid Norberg
40946162b3 avoid exceptions from boost.filesystem 2008-11-14 21:35:21 +00:00
Arvid Norberg
c3bbf138a4 estimate TCP/IP overhead more accurately 2008-11-14 20:51:49 +00:00
Arvid Norberg
10fcab392a fix utf8 build 2008-11-14 05:22:04 +00:00
Arvid Norberg
03398e94b0 replaced utf8 conversion with code from unicode.org 2008-11-13 06:39:08 +00:00
Arvid Norberg
4578f3426c assert fix 2008-11-12 22:24:55 +00:00
Arvid Norberg
1b10a3b15f DHT instrumentation changes 2008-11-12 03:56:56 +00:00
Arvid Norberg
4eb0df96c2 DHT fix. broke in recent update 2008-11-12 03:33:58 +00:00
Arvid Norberg
43a2db0b20 fix for recent move of torrent::start into the libtorrent thread 2008-11-12 03:30:19 +00:00
Arvid Norberg
a5ba060240 when calculating desired queue size, block size should not depend on whether or not they are merged in the requests 2008-11-12 00:54:44 +00:00
Arvid Norberg
a7af4d806b verbose logging improvement 2008-11-11 23:45:43 +00:00
Arvid Norberg
beb9dbfc03 cleaned up DHT error handling and logging. Made it use lazy_bdecode for improved performance 2008-11-11 17:51:02 +00:00
Arvid Norberg
03593c8b92 typecasting syntax fixes. No longer prints empty buckets in routing table dump 2008-11-11 10:03:43 +00:00
Arvid Norberg
49a3ac9710 disk_io_thread shutdown fix 2008-11-11 09:32:51 +00:00
Arvid Norberg
473f75e98a DHT fix where the node_id would get set after it was started and be inconsitent with rpc_manager and routing_table 2008-11-11 08:33:34 +00:00
Arvid Norberg
dd26371c0a indentation fix 2008-11-10 04:17:16 +00:00
Arvid Norberg
ce8c835ab8 fixed missing member initialization 2008-11-10 04:16:18 +00:00
Arvid Norberg
7306b60682 lazy_decode memory allocation tuning 2008-11-10 04:15:29 +00:00
Arvid Norberg
45de012553 fixed non verbose DHT build 2008-11-10 03:08:29 +00:00
Arvid Norberg
4abd27b40e initialize torrent object in libtorrent thread instead of in calling thread 2008-11-10 02:33:39 +00:00
Arvid Norberg
18d269dd62 DHT optimizations 2008-11-10 02:08:42 +00:00
Arvid Norberg
15a8cbcce7 dht fix 2008-11-09 09:02:06 +00:00
Arvid Norberg
ce544e2300 DHT rate limiter fixes 2008-11-09 00:37:03 +00:00
Arvid Norberg
3ed38059aa rate_limited_udp_socket fixes 2008-11-08 21:44:24 +00:00
Arvid Norberg
9bba20cdb4 first pass at rate limited udp socket (for DHT) 2008-11-08 17:40:06 +00:00
Arvid Norberg
4e9124019b added accessor to query for the max number of connections 2008-11-08 07:40:55 +00:00
Arvid Norberg
71fb640699 fix to count download stats when a peer has disconnected or sends an invalid message id 2008-11-06 09:01:27 +00:00
Arvid Norberg
3412c0f709 added option to set peers in a state where it doesn't download 2008-11-06 08:34:56 +00:00
Arvid Norberg
19c66a1826 exception fixes 2008-11-05 05:39:18 +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
f2c9e02994 fixed deadlock in dht code 2008-11-02 10:01:04 +00:00
Arvid Norberg
e0bea061b5 disabled an expensive assert when TORRENT_EXPENSIVE_INVARIANT_CHECKS is not defined 2008-11-01 19:44:39 +00:00
Arvid Norberg
17c250349e fix for when update_peer_port() disconnects 2008-11-01 19:34:12 +00:00
Arvid Norberg
593af53aba fix for connection_queue::close() to maintain the correct m_num_connecting counter 2008-11-01 18:01:00 +00:00