1204 Commits

Author SHA1 Message Date
Arvid Norberg
5989c8a527 fixed typo in makefile 2008-10-17 17:18:33 +00:00
Arvid Norberg
fffb51a727 updated get_asio script to download asio-1.2.0 and updated makefile to include the new asio headers 2008-10-17 17:05:25 +00:00
Arvid Norberg
81636a894d updated makefile to include all asio headers 2008-10-17 01:00:27 +00:00
Arvid Norberg
16d56eaee6 clears torrent stats when paused 2008-10-15 17:31:20 +00:00
Arvid Norberg
9a5e261c64 Fixed UPnP bug where the port and host would be re-used from the xml url when connecting to the control url 2008-10-14 07:19:46 +00:00
Arvid Norberg
399c4d6ac4 mutex fix for dht status reporting 2008-10-09 03:32:57 +00:00
Arvid Norberg
b355541a7d applied patch from Sergei Vorobyov to allow changing the limit on outstanding alerts 2008-10-07 05:46:42 +00:00
Arvid Norberg
3144767632 fixed buffer overrun when calling get_download_queue 2008-10-05 07:23:46 +00:00
Arvid Norberg
d4c206841b added support for bitcomet padding files. simplified storage read/write code. 2008-10-03 05:49:41 +00:00
Arvid Norberg
1092c558e4 counts newly started torrents as active up to 2 minutes, to give them a chance to start downloading. Active torrents are not considered slow in the auto manager. 2008-10-01 05:25:18 +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
47c476dc0a include TCP handshake overhead 2008-09-26 06:10:21 +00:00
Andrew Resch
4189e0b697 add peer_info::progress 2008-09-25 20:39:06 +00:00
Arvid Norberg
6d97d562f9 added another constructor to create_torrent that copies a torrent_info. 2008-09-24 17:05:12 +00:00
Arvid Norberg
1f1b3b560e fixed typo in torrent_info.hpp 2008-09-24 02:37:04 +00:00
Arvid Norberg
519fdfdb36 portability fix for udp_socket 2008-09-24 02:35:03 +00:00
Arvid Norberg
80e9e8d1cf changed torrent::set_metadata() to reduce code duplication in metadata extensions. Exposed torrent_handle::set_metadata() to the public interface 2008-09-24 02:32:33 +00:00
Arvid Norberg
ba8163ca9c fixed bug in udp_socket when the sockets own lifetime was dependent on the callback 2008-09-22 23:43:21 +00:00
Arvid Norberg
1ac3b8298c report tracker bandwidth usage and include it in rate limiter 2008-09-22 00:15:05 +00:00
Arvid Norberg
48dad0e2ac fixed indentation 2008-09-21 23:25:09 +00:00
Arvid Norberg
ea578a6acf adds ut_pex, ut_metadata and smart_ban by default in session constructor. Also starts upnp and nat-pmp by default. Fixes #399 2008-09-21 23:19:58 +00:00
Arvid Norberg
13b343c1af added assertions that the stats is updated properly when receiving and sending bytes on peer_connections 2008-09-21 17:12:26 +00:00
Arvid Norberg
8ffc345308 fixed crash when add_torrent was fed with invalid resume data 2008-09-21 02:08:04 +00:00
Arvid Norberg
0338510b9b added more bandwidth monitoring of DHT and TCP/IP overhead. added monitoring of the running DHT lookups 2008-09-20 17:42:25 +00:00
Arvid Norberg
67f1242836 added mutex to udp_socket and posts the callback instead of calling it directly 2008-09-19 17:31:16 +00:00
Arvid Norberg
a62ce3bc1a made routing table support safe iterators on gcc 2008-09-16 17:21:24 +00:00
Arvid Norberg
166f761df3 fixed DHT bug where requests that timed out would be treated as transaction_id overflows and would slow down DHT lookups considerably. 2008-09-15 05:05:26 +00:00
Arvid Norberg
3077fdcb6a fix crash when tracker connections fails in the constructor (used to be the case for scrape when there were no url transform from announce to scrape) 2008-09-07 10:03:59 +00:00
Arvid Norberg
fddd1ee8e2 fixed assert when connecting to upload-only peers 2008-09-07 01:01:25 +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
Arvid Norberg
7f143791d5 added get_storage_impl() to torrent_handle 2008-09-04 16:20:19 +00:00
Arvid Norberg
c88071ae10 fixed race when adding router nodes to the dht (router nodes should be added before it's started) 2008-09-02 06:37:40 +00:00
Arvid Norberg
92ed7fb364 fixed metadata extension issues 2008-08-29 17:21:56 +00:00
Arvid Norberg
5486e17b15 fixed bug in bitfield and updated test 2008-08-29 12:19:21 +00:00
Arvid Norberg
9b38724417 made dump torrent create magnet links 2008-08-27 18:44:35 +00:00
Arvid Norberg
e9045cc1df fixes bug where priorities where lost when force-rechecking. 2008-08-25 22:32:50 +00:00
Arvid Norberg
d2e5f3919d changed alert messages to use asio to string conversion for endpoint (fixes missing [] on IPv6 addresses) 2008-08-25 21:21:38 +00:00
Arvid Norberg
dd318fb9a3 fixed warnings in bencode 2008-08-21 11:40:49 +00:00
Arvid Norberg
e58485822b optimized encryption 2008-08-20 23:05:12 +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
29bf61d364 fixed state changed alert since 'connecting' was removed 2008-08-18 18:04:04 +00:00
Arvid Norberg
9bae670ac7 fix build with boost-1.36 2008-08-16 21:11:27 +00:00
Arvid Norberg
015ab223c9 added asserts for timers 2008-08-16 21:07:45 +00:00
Arvid Norberg
7d47ed54eb removed connecting_to_tracker state 2008-08-03 15:32:15 +00:00
Arvid Norberg
cbf8e6f3b1 introduced TORRENT_NO_DEPRECATE, to disable deprecated functions. Made example not use deprecated functions. Documented magnet uri related functions. 2008-08-03 15:14:08 +00:00
Arvid Norberg
18b14e56df made the minimum announce interval configurable 2008-08-01 22:34:37 +00:00
Arvid Norberg
854f029fc1 fixed warning on gcc 4.3 2008-07-30 06:41:05 +00:00
Arvid Norberg
4aee6df9d4 fixed create_torrent 2008-07-22 13:01:22 +00:00
Arvid Norberg
b22082b77b add set_priv and priv to create_torrent 2008-07-21 17:04:31 +00:00
Arvid Norberg
df27541904 only use wpath on windows 2008-07-20 16:13:52 +00:00