Commit Graph

8148 Commits

Author SHA1 Message Date
arvidn 5c96a35a66 scanf fix in client_test 2015-10-04 10:57:12 -04:00
arvidn e59d03f684 fix strict aliasing violation 2015-10-03 15:13:45 -04:00
Arvid Norberg 82c9efe8fc Merge pull request #201 from arvidn/proxy-peer-connections
forward port fix to proxy_peer_connections to master
2015-10-03 14:01:16 -04:00
arvidn 2b9cd9bfde fix build 2015-10-03 12:27:01 -04:00
arvidn 3d54c02450 fix build 2015-10-03 11:42:21 -04:00
arvidn c798e388a9 forward port fix to proxy_peer_connections to master 2015-10-03 11:20:10 -04:00
Arvid Norberg b785e789b6 Merge pull request #199 from arvidn/parse-magnet-fix
fix bug in parse_magnet_uri and improve unit test
2015-10-03 02:09:34 -04:00
Arvid Norberg 81e085b276 Merge pull request #189 from aldenml/dht-storage-api
Add set_dht_storage to session API
2015-10-02 23:32:06 -04:00
Arvid Norberg fe928abce1 Merge pull request #200 from cas--/Issue/Fix_missing_move_flags
[Bindings/Py] Add missing move_flags_t to torrent_handle
2015-10-02 23:30:09 -04:00
arvidn 84b82999d0 fix bug in parse_magnet_uri and improve unit test 2015-10-02 23:24:43 -04:00
arvidn c1955ecb18 fix bug in parse_magnet_uri and improve unit test 2015-10-02 23:24:17 -04:00
Alden Torres 62b24d8b67 Add set_dht_storage to session API. 2015-10-02 09:00:07 -04:00
Calum Lind 11a4be737d [Bindings/Py] Add missing move_flags_t to torrent_handle 2015-10-01 10:35:42 +01:00
Arvid Norberg c56e878ff4 Merge pull request #194 from arvidn/merge_http
forward port merge web seed patch
2015-10-01 01:46:18 -04:00
Arvid Norberg d7cdcf9369 Merge pull request #183 from thomas-yuan/ta_init
start 'find' from near nodes instead of all of nodes in routing table.
2015-09-30 00:43:14 -04:00
arvidn 424e51b737 fix build 2015-09-30 00:41:41 -04:00
arvidn a00e5aa6c7 forward port patch to have resume data web seeds override .torrent file web seeds, and a flag to merge them 2015-09-30 00:41:41 -04:00
Arvid Norberg a16c24dc0b Merge pull request #167 from arvidn/auto-manage-fix
simplify the queuing logic for checking torrents
2015-09-30 00:40:44 -04:00
arvidn cae4e3dfe2 fix documentation 2015-09-29 21:05:18 -04:00
arvidn 5da511f140 now that force-started torrents aren't affected by the auto-manager, they need to be explicitly kicked when entering checking state (it would be nice if all this could be done through set_state()) 2015-09-29 20:49:38 -04:00
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
Thomas Yuan 0d2644802d start 'find' from near nodes instead of all of nodes in routing table. 2015-09-23 17:04:33 -04: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