Commit Graph

672 Commits

Author SHA1 Message Date
Jari Sundell 6c10f7e05d Use new Http API. 2011-11-26 01:38:47 +09:00
Jari Sundell 7b150ec834 Made d.multicall safe for deletion of downloads. 2011-11-25 02:21:44 +09:00
Jari Sundell e11be5cdbe Fixed some compile issues. 2011-11-22 16:46:59 +09:00
Jari Sundell 9507bd82f4 Use a safe slot list callback function. 2011-11-17 10:13:46 +09:00
Jari Sundell 308d91f817 Replaced sigc++ calles for torrent::Http with tr1::bind. 2011-11-17 01:06:52 +09:00
Jari Sundell 00a42357d0 Added 'd.tracker.send_scrape = <seconds_to_request>' command for sending scrape requests to all trackers that support it.
Newly inserted downloads send scrape requests after 30 seconds.
2011-11-08 01:03:29 +09:00
Jari Sundell f4c3758dcd Added more scrape information to tracker info. 2011-11-08 01:03:20 +09:00
Jari Sundell 575968b291 Use new function for inserting tracker. 2011-11-08 01:03:10 +09:00
Jari Sundell eb90b92930 Added 'd.tracker.insert = <tracker_group>, <tracker_url>' for adding trackers to a download. 2011-11-05 22:19:57 +09:00
Jari Sundell a73509a799 Updated use of torrent::Tracker API. 2011-11-05 18:55:01 +09:00
Jari Sundell ed6182589a Removed deprecate tracker focused_index function calls. 2011-11-04 02:24:57 +09:00
Jari Sundell 682cd56d18 Don't use the old TrackerList focus function when retrieving active tracker. 2011-10-26 22:30:56 +09:00
Jari Sundell 931b9c848c Added 'network.listen.port'. 2011-10-21 20:24:35 +09:00
Jari Sundell e9a065f9d8 Make rtorrent compatible with the latest HEAD. 2011-10-17 13:09:26 +09:00
Jari Sundell d7fddfe718 Display tracker success/failed counters. 2011-10-10 17:16:53 +09:00
Jari Sundell dcf9c5a0fc Properly detach from background process. 2011-10-09 19:23:30 +09:00
rakshasa 4d313e6353 Updated copyright information.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1301 e378c898-3ddf-0310-93e7-cc216c733640
2011-10-09 06:30:14 +00:00
rakshasa ba09df1afc Moved the sanity checks for 'd.directory.set' to 'Download::set_root_directory(path)' so that it always gets used.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1297 e378c898-3ddf-0310-93e7-cc216c733640
2011-10-04 15:44:00 +00:00
rakshasa 5f21e207c3 * Unlink the target filename of 'network.scgi.open_local' before opening.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1291 e378c898-3ddf-0310-93e7-cc216c733640
2011-10-02 13:24:59 +00:00
rakshasa 80c97c398b * Clearing out lots of old tickets and small bug reports.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1290 e378c898-3ddf-0310-93e7-cc216c733640
2011-10-02 12:32:28 +00:00
rakshasa ecb77ad7bf * Support conversion from Object dict_key type to XMLRPC.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1287 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-26 02:02:35 +00:00
rakshasa 4e3ecc01b2 * Changed tracker logging to use the new logging facilities.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1286 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-25 13:25:36 +00:00
rakshasa 3c75a150db * Added 't.success_time_last' and 't.failed_time_last'.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1285 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-21 08:44:46 +00:00
rakshasa 4914d798f1 * Changing push_log calls to the new logging facility.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1284 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-21 05:07:06 +00:00
rakshasa 156d69c854 * Added 'log.open_file' and 'log.add_output' options for using the new logging facilities.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1283 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-21 02:38:05 +00:00
rakshasa 6faea70de2 * Added options for max_uploads and max_downloads.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1277 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-13 01:42:14 +00:00
rakshasa 1e83c626f8 * Refactoring of choke_queue and how choking is handled.
* Added 'd.{up,down}loads_{max,min}', and the keys 1/2/3/4 and !/@/#/$ control these.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1274 e378c898-3ddf-0310-93e7-cc216c733640
2011-09-07 03:53:38 +00:00
rakshasa 1b49dcb9e0 * More clang warnings fixed.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1273 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-23 16:59:27 +00:00
rakshasa e239b673cf * Properly detect issues with 'd.directory.set' being called after the data files have been moved.
* Added counters for unchoked peers.

* CLang fixes.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1272 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-21 15:04:22 +00:00
rakshasa c1eccb4bd7 * Fixed 'log.execute'.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1270 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-17 04:30:23 +00:00
rakshasa 7680277eee * Moving over some cosmetic changes from a patchset.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1269 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-13 09:38:26 +00:00
rakshasa dfc159f67a * Fixed dummy choke groups default heuristics and other minor issues.
* Added 'd.group.name'.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1267 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-10 01:39:10 +00:00
rakshasa 847d1ae081 * Fixed strings.choke_heuristics.* typo.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1266 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-08 10:33:27 +00:00
rakshasa c7ad0a90da * Fixed 'network.http.dns_cache_timeout{,.set}'.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1265 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-07 11:06:29 +00:00
rakshasa ea192b342c * Fixed 'd.group.set' for the mainline version.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1264 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-06 08:01:09 +00:00
rakshasa ce16621707 * Fixed a potential issue causing high loads while waiting for main thread to exit polling. #2661
* Added 'strings.choke_heuristics.{upload,download}' and extra dummy upload/download heuristics for testings.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1263 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-06 05:20:18 +00:00
rakshasa 882a64af77 * Bumped the number of incoming connections for SCGI.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1262 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-04 06:21:06 +00:00
rakshasa 3f41f9384d * Added 'network.http.dns_cache_timeout{,.set}' commands to allow for disabling the libcurl dns caching.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1261 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-03 09:29:03 +00:00
rakshasa adef434bc3 * Added 'd.disconnect.seeders' and 'd.accepting_seeders{,.enable,.disable}' commands.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1260 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-02 06:09:37 +00:00
rakshasa 88260e4989 * Added missing <cstdio> and <string> headers.
* Added 'd.wanted_chunks' command.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1259 e378c898-3ddf-0310-93e7-cc216c733640
2011-08-01 02:51:13 +00:00
rakshasa a6678a4591 * Adding wanted_chunks.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1257 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-30 13:55:34 +00:00
rakshasa 7ff232848a * Minor fixes to the choke group implementation.
* Added some documentation.

* Fixed a compiler bug on gcc-4.6.1.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1255 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-29 12:09:29 +00:00
rakshasa b64b975ad4 * Split out parts of command_network.cc to make is easier to compile.
* Moved the iptos and encryption strings to option_strings.cc.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1254 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-27 23:37:10 +00:00
rakshasa ca0e3f66a6 * Trace back SIGBUS errors to the download, file and offset.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1253 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-25 11:00:45 +00:00
rakshasa 520d25a19d * Fixed cg_get_index type.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1251 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-20 13:05:25 +00:00
rakshasa a5ed856f01 * Using sigemptyset.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1250 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-20 12:37:27 +00:00
rakshasa 9b0eb94c09 * Added sigset_t type cast.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1249 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-20 12:03:58 +00:00
rakshasa 86a9c1051b * Fixed a type cast.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1248 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-20 11:37:44 +00:00
rakshasa fa8ef65cd7 * Added better handling of SIGBUS, including the error type and fault address in the dump.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1247 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-20 09:57:29 +00:00
rakshasa f5d4924b22 * Casting printf input to match the format type.
* Properly clear the queued events during closing of a socket by checking for the file descriptor, not the ptr.

* SCGI m_task queue could overflow since the check was not working.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1246 e378c898-3ddf-0310-93e7-cc216c733640
2011-07-19 13:11:28 +00:00