Commit Graph

8127 Commits

Author SHA1 Message Date
arvidn dab0f8b8d0 simplify the queuing logic for checking torrents. make all non-auto-managed torrents always be exempt from any queuing mechanism (including checking). Extend documentation on how it works 2015-09-29 20:49:37 -04:00
Arvid Norberg 77221ccbd2 Merge pull request #190 from ssiloti/named-msg-args
test_dht: use named parameter pattern for passing message arguments
2015-09-27 23:31:03 -04:00
Steven Siloti aa94f26b26 test_dht: use named parameter pattern for passing message arguments
The number of optional parameters for send_dht_request was already beyond
ridiculous and the addition of the 'want' argument pushed me over the top.
2015-09-27 19:16:24 -07:00
Arvid Norberg 95e55d2ea9 Merge pull request #187 from arvidn/queueing-slow-torrents
fix for bug where dont_count_slow_torrents could not be disabled
2015-09-25 20:18:01 -07:00
arvidn 8b30e78d69 forward port fix for bug where dont_count_slow_torrents could not be disabled, into master 2015-09-25 14:22:38 -07:00
Arvid Norberg 597be5c1c1 Merge pull request #177 from thomas-yuan/tools_dht_put
add dump-key to tools/dht_put.cpp.
2015-09-25 09:58:36 -07:00
Arvid Norberg fb19a672bc Merge pull request #175 from aldenml/dht-storage-peers-counter
Fix of dht_storage_counters::peers counter
2015-09-25 08:25:15 -07:00
Thomas Yuan 3a59d0995f add dump-key to tools/dht_put.cpp. 2015-09-24 11:02:26 -04:00
Alden Torres 197a443465 Fix of dht_storage_counters::peers counter. 2015-09-24 10:50:04 -04:00
Arvid Norberg b8ed9eff48 Merge pull request #182 from arvidn/python-fix
revert py_libtorrent renaming for python binding
2015-09-24 05:20:24 -07:00
arvidn a9821216bf revert py_libtorrent renaming for python binding 2015-09-24 05:19:29 -07:00
Arvid Norberg 89e46be4ed Merge pull request #155 from thomas-yuan/ping
Use ping instead of get_peers if current bucket is full.
2015-09-23 11:36:04 -07:00
Thomas Yuan f9fa8ffdec Use ping instead of get_peers if current bucket is full. 2015-09-22 10:35:10 -04:00
Arvid Norberg 50ccce6eed Merge pull request #174 from arvidn/fallocate-hack
remove fallocate hack (in master)
2015-09-22 07:18:07 -07:00
arvidn 5bdb583162 remove fallocate hack (in master) 2015-09-21 20:22:19 -07:00
Arvid Norberg 3e37785280 Merge pull request #152 from thomas-yuan/mutable-expiration
make immutable/mutable items lifetime configurable.
2015-09-21 20:20:53 -07:00
arvidn dc77da5630 fix build 2015-09-21 20:19:05 -07:00
Thomas Yuan 7fec9e488d make immutable/mutable items lifetime configurable. 2015-09-21 20:32:37 -04:00
arvidn e7a2bd8614 update libsimulator 2015-09-21 16:31:05 -07:00
Arvid Norberg 01193fcf7c Merge pull request #163 from aldenml/dht-storage-counters
Create dht_storage_counters to avoid internal counter in future public API
2015-09-21 13:51:39 -07:00
Arvid Norberg c80374e303 Merge pull request #170 from arvidn/active-time-fix
fix bug in time keeping of active_time, seeding_time, finished_time etc.
2015-09-21 07:06:42 -07:00
Alden Torres 25ed70b977 Create dht_storage_counters to avoid internal counter in future public API. 2015-09-21 07:46:23 -04:00
arvidn fb2f659a31 fix bug in time keeping of active_time, seeding_time, finished_time etc. 2015-09-21 00:38:56 -07:00
Arvid Norberg 2cf0349021 Merge pull request #172 from arvidn/msvc-14-fix
disable msvc-14
2015-09-21 00:36:54 -07:00
arvidn 67a33dd792 update libsimulator 2015-09-20 19:55:29 -07:00
arvidn 73d2b8dc89 more msvc-12 support, and build sim config first on appveyor 2015-09-20 19:31:04 -07:00
arvidn 7000576588 attempt msvc-12 support 2015-09-20 18:52:34 -07:00
arvidn 2e3876b287 just disable msvc-14 for now 2015-09-20 17:54:29 -07:00
Arvid Norberg 6bf1971452 Merge pull request #162 from thomas-yuan/bootstrap
Only re-bootstrap when there is no enough nodes in routing table.
2015-09-20 14:52:16 -04:00
Arvid Norberg 92d05d1085 Merge pull request #171 from arvidn/msvc-14-fix
msvc-14 fix
2015-09-20 14:34:30 -04:00
arvidn bd9f371517 avoid cmd.exe escaping issues by including the appveyor user-config.jam file in the repo 2015-09-20 13:54:50 -04:00
Arvid Norberg 5563be7e16 Merge pull request #168 from arvidn/msvc-14-fix
add ucrt include path to msvc-14
2015-09-20 13:43:00 -04:00
arvidn b3a9949b89 add ucrt include path to msvc-14 2015-09-20 13:37:23 -04:00
arvidn 372385bcb8 expose more of torrent_status in python binding 2015-09-19 14:39:36 -04:00
arvidn cf15453388 forward port auto-manage fix from RC_1_0 2015-09-19 02:10:50 -04:00
arvidn 2715ae475c expose whether torrents are announcing to trackers, lsd and dht. these can be disabled by the queuing logic 2015-09-19 01:54:47 -04:00
Arvid Norberg 0f241a0816 Merge pull request #165 from arvidn/header-cleanup
separate out announce_entry and torrent_status into their own headers
2015-09-18 19:22:13 -04:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
Arvid Norberg c54f8445bd Merge pull request #164 from thomas-yuan/alert_message
Fix dht_put_alert::message() for immutable items.
2015-09-17 18:25:17 -04:00
Thomas Yuan 20708fa5b6 Only re-bootstrap when there is no enough nodes in routing table. 2015-09-17 11:22:23 -04:00
Arvid Norberg d3d15297f5 Merge pull request #149 from arvidn/tracker_simulation
add simulation of tracker announces
2015-09-16 23:04:50 -04:00
arvidn c9a0212ee0 add simulation of tracker announces 2015-09-16 20:49:10 -04:00
Arvid Norberg 1fd35c01ad Merge pull request #123 from aldenml/dht-storage
Implementing dht storage interface.
2015-09-16 20:27:34 -04:00
arvidn c97bf4a0f4 travis script polishing 2015-09-16 20:26:13 -04:00
Thomas Yuan 1fac816d37 Fix dht_put_alert::message() for immutable items. 2015-09-16 15:21:05 -04:00
Alden Torres e2d682275a Implementing and using new dht storage interface 2015-09-16 08:30:27 -04:00
Arvid Norberg 4b27ad80b8 Merge pull request #159 from arvidn/msvc-14-fix
attempt to fix msvc-14 build on appveyor
2015-09-15 08:08:51 -04:00
arvidn 28ffc6969a revert appveyor build image 2015-09-15 08:08:00 -04:00
arvidn 5e3d0dcbb9 update libsimulator submodule 2015-09-12 13:45:35 -04:00
arvidn 81399fb14e remove parse_hash_fails from tools directory 2015-09-12 09:59:37 -04:00