Commit Graph

169 Commits

Author SHA1 Message Date
Arvid Norberg
7e83c3fc51 changed storage interface to not require exceptions 2008-02-14 03:48:20 +00:00
Arvid Norberg
948b2bafe6 made it work properly when building with stats logging 2008-02-12 08:34:57 +00:00
Arvid Norberg
c5fd5ecfb4 removed 'adler32' key from fastresume, since it was implemented with blocking I/O 2008-02-11 07:18:28 +00:00
Arvid Norberg
c9b53ddf8c allow negative and zero values for session_settings::connection_speed 2008-02-11 03:55:53 +00:00
Arvid Norberg
6c552db68e added disk cache expiration 2008-02-10 00:58:25 +00:00
Arvid Norberg
a16d592ff4 handles lack of 'adler32' key in fast resume data 2008-02-09 19:51:23 +00:00
Arvid Norberg
8cf0510144 added disk cache for write operations 2008-02-08 10:22:05 +00:00
Arvid Norberg
1c82ef36d8 improved support for out-of-memory conditions 2008-02-05 05:51:05 +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
8b455be1d9 better exception handling and more invariant checks 2008-01-19 19:00:54 +00:00
Arvid Norberg
5ff6708b3d made it build without dht support 2008-01-18 02:02:18 +00:00
Arvid Norberg
afa6fd97a3 max connections limit fix 2008-01-18 01:29:28 +00:00
Arvid Norberg
4f99230c74 auto unchoke improvement 2008-01-17 21:34: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
5d196ed555 auto upload slots. opens up more slots if upload rate is not met. On by default 2008-01-13 11:18:18 +00:00
Arvid Norberg
7cea96ea88 added TORRENT_VERBOSE_BANDWIDTH_LIMIT build option to generate a bandwidth manager log 2008-01-12 18:47:26 +00:00
Arvid Norberg
72edfc2ee7 improved network interface enumeration and upnp device filtering 2008-01-11 06:49:37 +00:00
Arvid Norberg
b5dedccb70 made trunk build on windows (mapped storage doesn't work right yet though) 2008-01-11 06:35:34 +00:00
Arvid Norberg
695cd6407b remove use of strand 2008-01-08 05:47:43 +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
cf4036310b changed the way connections are disconnected. improved logging. Does not depend on exceptions anymore 2008-01-07 01:10:46 +00:00
Arvid Norberg
cfe5c8962e more asserts around send buffers and fixes potential race condition 2007-12-27 21:43:11 +00:00
Arvid Norberg
d5748419c1 fixed upnp bug when connecting without network 2007-12-24 08:18:53 +00:00
Arvid Norberg
e0d1951fac fixes #234. properly shuts down the disk io thread 2007-12-24 08:15:10 +00:00
Arvid Norberg
d1311e2bb8 improved session logging 2007-12-19 21:36:54 +00:00
Arvid Norberg
8c3f9571de socks5 support for udp messages 2007-12-09 04:15:24 +00:00
Arvid Norberg
cfc4638df5 fixed bug when trackers are removed from torrent 2007-12-07 21:53:33 +00:00
Arvid Norberg
77cea2eafc added more asserts in session_impl::check_invariant 2007-11-27 02:46:19 +00:00
Arvid Norberg
c18ae83146 added wait_for_alert() to session. If there is at least one alert in the queue, it returns the front one in the queue, if the queue is empty, it waits until a new alert is posted and returns that one, or returns 0 if the time expires first. 2007-11-25 08:18:57 +00:00
Arvid Norberg
c929f4fb69 fix for systems where IPv6 sockets bound to INADDR_ANY also listens on IPv4 connections 2007-11-23 22:14:33 +00:00
Arvid Norberg
88e69d0edc fix for when lsd, upnp or nat-pmp is started more than once 2007-11-23 21:11:31 +00:00
Arvid Norberg
55fac2518d local peers no longer counts as incoming_connections 2007-11-19 18:05:47 +00:00
Arvid Norberg
3489ccaebd explicit lsd close fix 2007-11-19 02:24:07 +00:00
Arvid Norberg
7be29d9b84 applied 'logpath' patch from #202 2007-11-16 21:21:28 +00:00
Arvid Norberg
41ef204f26 closes bandwidth rate limiters 2007-11-08 07:52:41 +00:00
Arvid Norberg
8868469f2f warning fix 2007-11-07 01:38:17 +00:00
Arvid Norberg
fd51412b70 shutdown improvements. Fixes stall 2007-11-02 00:27:53 +00:00
Arvid Norberg
43d3fc9a28 fixed warning 2007-10-31 12:04:05 +00:00
Arvid Norberg
1a280e31fa cleanup. changed the connection map into a set of peer_connections. moved the policy object into the torrent (as opposed to being a pointer). Fixes issues with multiple peers on the same IP. Reduces some lookups. 2007-10-31 09:48:20 +00:00
Arvid Norberg
70810cb7e9 dht_state() no longer asserts on the dht being active. It just returns an empty state if it isn't 2007-10-29 16:18:37 +00:00
Arvid Norberg
79d4191ef5 attempt to fix stall on exit where some connections weren't closed 2007-10-29 00:29:43 +00:00
Arvid Norberg
3c05e0fa41 attempt to fix #190 2007-10-27 21:21:44 +00:00
Arvid Norberg
8f07edbed2 asio handlers are now properly cancelled when destructing the session object, race conditions are avoided by waiting for the io service to complete all tasks 2007-10-26 07:14:19 +00:00
Arvid Norberg
92d29334fa cleanup. doesn't allocate sockets on the heap for no reason anymore 2007-10-22 04:17:26 +00:00
Arvid Norberg
d0ef85e802 fixed issue with failing async_accept on windows 2007-10-15 19:02:54 +00:00
Arvid Norberg
282edb5861 windows vista detection to set the default half-open connection limit even lower 2007-10-15 01:15:58 +00:00
Arvid Norberg
59c7f5bfbb added option to delete files from disk as a torrent is removed 2007-10-13 03:33:33 +00:00
Arvid Norberg
f8d026efbc fixed typo 2007-10-10 19:02:42 +00:00
Arvid Norberg
ffe2e75882 added another alert to cover all cases where the torrent has to be checked at start, and tell the user why. Fixed a problem with the resume data generation introduced in last storage check-in 2007-10-09 00:25:01 +00:00