arvidn
|
ae7058e119
|
remove the timestamps and file sizes from the resume data. This makes saving resume data alot cheaper, since it doesn't have to go via the disk thread. It also removes an old-standing API usage issue where there was easily a race condition introduced between saving resume data and pausing a torrent.
|
2016-02-06 15:50:55 -05:00 |
arvidn
|
f31d17c9c5
|
allow specifying which tracker to scrape in torrent_hadnle::scrape_tracker
|
2016-01-26 18:14:32 -05:00 |
arvidn
|
1f9f588e75
|
merge copyright year update and changelog from RC_1_0
|
2016-01-17 18:57:46 -05:00 |
Arvid Norberg
|
fa391d4961
|
Merge pull request #394 from arvidn/forward-port-http-fix
forward port fix for web seeds not being used by torrents added by URL
|
2016-01-17 17:47:25 -05:00 |
arvidn
|
0c971d0d62
|
forward port fix for web seeds not being used by torrents added by URL
|
2016-01-16 23:57:33 -05:00 |
arvidn
|
3cd57b59e0
|
when a tracker is force announced or scraped by the user/client, the resulting response or failure alert is now posted regardless of the alert mask. Since it's user initiated, it's reasonable to expect the user to be interested in the response
|
2016-01-16 21:24:04 -05:00 |
arvidn
|
1f3f06a836
|
forward port fix for deleting files of magnet link to master
|
2015-12-18 18:33:31 -05:00 |
arvidn
|
645b121df6
|
deprecate resolve-countries
|
2015-12-14 21:32:30 -05:00 |
arvidn
|
1712a8e4b4
|
polish the stop-when-ready flag and improve documentation
|
2015-12-13 20:31:28 -05:00 |
arvidn
|
4b6e11cc07
|
deprecate set_tracker_login
|
2015-12-13 15:14:19 -05:00 |
arvidn
|
0f9d82ab22
|
fix bug in handling force-started checking torrents
|
2015-12-12 15:08:38 -05:00 |
arvidn
|
d505f93d7a
|
port sim tests to use the new setup_swarm API
|
2015-12-12 00:41:47 -05:00 |
arvidn
|
cc3b064cff
|
fix graceful pause issue. peers regularly check whether they should disconnect or not
|
2015-12-04 23:27:43 -05:00 |
arvidn
|
60df41cd85
|
fix save_resume_data in client_test and make torrent a bit more instrumentable. This could be greatly simplified if resume data would not have file_sizes and timestamps
|
2015-11-29 20:31:57 -05:00 |
arvidn
|
2c3d7ee0ef
|
fix a bug where the torrent's invariant was not always maintained as well as a shutdown issue (now covered by test as well)
|
2015-11-28 14:14:49 -05:00 |
arvidn
|
51df32a25b
|
fix logging issue
|
2015-11-27 14:04:46 -05:00 |
arvidn
|
847cd340ee
|
extend tracker sim test and fix some bugs in tracker error reporting
|
2015-11-24 23:38:49 -05:00 |
arvidn
|
06b648203f
|
clean up use of error categories
|
2015-11-24 00:50:51 -05:00 |
arvidn
|
c0d6b20634
|
extend swarm simulation test to include stopping and starting and graceful pause
|
2015-11-20 22:27:12 -05:00 |
Arvid Norberg
|
2eabf99307
|
Merge pull request #276 from arvidn/msvc-warnings
attempt to fix some msvc warnings
|
2015-11-20 08:04:38 -05:00 |
arvidn
|
4c790043a1
|
fix invariant check failure in torrent::pause
|
2015-11-20 01:38:21 -05:00 |
arvidn
|
4aaa8ca4a9
|
silence msvc performance warnings. introduce more override and finals
|
2015-11-19 23:37:45 -05:00 |
arvidn
|
2626159abe
|
use a consistent random number generator to make simulations deterministic
|
2015-11-12 00:21:56 -05:00 |
arvidn
|
fbf152abc0
|
attribute external IP voting to the actual tracker IP we connected to, and preserve endpoint list in http_connection to make the re-announce to IPv6 logic robust
|
2015-11-11 01:30:28 -05:00 |
arvidn
|
ebb9fdaf54
|
add error_code to torrent_status instead of error string
|
2015-11-05 20:43:23 -05:00 |
arvidn
|
729a8e9152
|
update libsimulator. add simulation/test for announcing twice to trackers over IPv4 and IPv6. fix bugs preventing libtorrent from doing that correctly
|
2015-10-27 00:21:07 -04:00 |
Arvid Norberg
|
ea86785d45
|
Merge pull request #202 from arvidn/stop-when-ready
Stop when ready
|
2015-10-04 16:18:59 -04:00 |
arvidn
|
8eded0a2a0
|
forward port set_allow_peers bugfix
|
2015-10-04 14:41:58 -04:00 |
arvidn
|
51c6079c42
|
add stop-when-ready feature, to support checking torrents without starting the download afterwards
|
2015-10-04 13:08:23 -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 |
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 |
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 |
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 |
arvidn
|
fb2f659a31
|
fix bug in time keeping of active_time, seeding_time, finished_time etc.
|
2015-09-21 00:38:56 -07: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 |
arvidn
|
b628692223
|
separate out announce_entry and torrent_status into their own headers
|
2015-09-18 08:08:08 -04:00 |
arvidn
|
ee3cb6cf86
|
move some internal headers to aux_ to fix documentation
|
2015-09-07 17:00:27 -04:00 |
arvidn
|
17c5759829
|
disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings
|
2015-09-06 22:55:41 -04:00 |
arvidn
|
0d9d632465
|
initial support for disabling proxy for tracker connections
|
2015-08-29 19:44:54 -04:00 |
arvidn
|
ba95aa27d6
|
cleanup unused code
|
2015-08-29 16:07:19 -04:00 |
arvidn
|
5757b0ad13
|
polish some behavior when setting piece and file priorities for torrents with no metadata. Fix the initialization order of peers once we do get the metadata
|
2015-08-29 10:21:15 -04:00 |
arvidn
|
beb5455331
|
add disk I/O read asserts and fix i2p issue if a tracker responds with i2p peers when i2p is not configured on the client
|
2015-08-28 07:20:21 -04:00 |
arvidn
|
6012306557
|
add more asserts for the size of the bitfields peers send
|
2015-08-27 21:48:52 -04:00 |
arvidn
|
82a3683f7d
|
polish removal of web seeds logic
|
2015-08-23 11:01:55 +02:00 |
arvidn
|
a42f9e0c63
|
fix more warnings
|
2015-08-22 00:28:12 +02:00 |
arvidn
|
26b721973f
|
fix typo
|
2015-08-21 10:43:14 +02:00 |
arvidn
|
b7b0dafcca
|
fix some warnings
|
2015-08-21 10:05:51 +02:00 |
arvidn
|
ffa870d280
|
fixed some GCC warnings
|
2015-08-20 01:33:20 +02:00 |
arvidn
|
26fecaf037
|
fix more warnings
|
2015-08-18 16:42:03 +02:00 |
arvidn
|
f6b86dc4b5
|
add typesafety to piece_picker torrent_peer pointers. and fix a few incorrect uses
|
2015-08-18 04:25:13 -04:00 |
arvidn
|
eecdd3121d
|
fix some build warnings
|
2015-08-17 09:01:43 -04:00 |
arvidn
|
9a0092c120
|
fix some warnings
|
2015-08-16 12:17:23 -04:00 |
arvidn
|
16bb2de6ed
|
fix some warnings
|
2015-08-13 23:52:25 -04:00 |
arvidn
|
225b82d9a0
|
move test_trackers_extensions over to a simulation and some minor metadata extension and tracker re-announce fixes
|
2015-08-13 23:07:04 -04:00 |
Arvid Norberg
|
68bc4f2cf4
|
Merge pull request #12 from mlt/wip/i2p
Few i2p fixes
|
2015-08-13 21:55:27 -04:00 |
arvidn
|
a81ca2391b
|
fix some warnings
|
2015-08-10 20:03:24 -04:00 |
arvidn
|
fb34607313
|
fix crash when loading a resume file where all files have priority 0 (and the torrent finishes before having downloaded anything) and add unit test for this case
|
2015-08-05 20:13:58 -04:00 |
arvidn
|
bb64887f30
|
merge total wanted fix from RC_1_0
|
2015-08-02 15:18:21 -04:00 |
arvidn
|
655a3ae019
|
fix some warnings
|
2015-08-01 23:57:11 -04:00 |
arvidn
|
7f695f05d5
|
use boost.asio as headers only library again (simplify builds and hopefully fix shared linking of python module on gcc linux)
|
2015-07-27 23:09:24 -07:00 |
arvidn
|
105c105867
|
merge seed mode test and fixes from RC_1_0
|
2015-07-27 00:01:19 -07:00 |
Arvid Norberg
|
742548b69c
|
Merge pull request #49 from ssiloti/plugin-exported-api
Only use exported types in the plugin api
|
2015-07-25 15:53:22 -07:00 |
Steven Siloti
|
e6b3df3696
|
pass torrent_handle by const ref in the plugin api
|
2015-07-25 09:57:55 -07:00 |
Steven Siloti
|
72dcc20073
|
pass peer_connection_handle by const ref in the plugin api
|
2015-07-25 09:15:24 -07:00 |
arvidn
|
40c7596da9
|
merge loading of piece priorities from resume data fix from RC_1_0
|
2015-07-24 22:34:53 -07:00 |
Steven Siloti
|
fbc67b4e21
|
switch to torrent_handle in plugin api
|
2015-07-23 19:52:23 -07:00 |
arvidn
|
bb705e9a52
|
improved seed-mode handling (seed-mode will now automatically be left when performing operations implying it's not a seed). fixed issue with file priorities and override resume data
|
2015-07-21 10:12:37 -07:00 |
arvidn
|
7a3cabfe12
|
fixed some resume issues, specifically around file priorities and override resume data
|
2015-07-16 21:56:06 -04:00 |
arvidn
|
a65b71b855
|
improve logging of adding peers and the state of torrents. the default flags for the external connect_peer() call now assumes encryption, uTP and holepunch support
|
2015-07-16 21:53:31 -04:00 |
Mikhail Titov
|
2751d90368
|
Don't store 0.0.0.0 for i2p peers in resume data
|
2015-07-14 14:13:17 -05:00 |
Mikhail Titov
|
df21a7e8ce
|
Use scrape & i2p bitset flags for request
|
2015-07-14 14:13:10 -05:00 |
Mikhail Titov
|
5d3938b39b
|
Parse compact response from I2P tracker
This fixes #2
|
2015-07-14 14:13:09 -05:00 |
Steven Siloti
|
9bf1d6c5e9
|
peer_connection_handle
|
2015-07-12 14:40:03 -07:00 |
arvidn
|
1c708cca28
|
fix build
|
2015-07-05 21:41:53 -04:00 |
arvidn
|
78399f7968
|
shave off some includes in torrent.cpp
|
2015-07-05 19:32:13 -04:00 |
arvidn
|
3b3a23a87a
|
whitespace
|
2015-07-05 18:33:47 -04:00 |
arvidn
|
d1670c72c2
|
removed sparse-regions support
|
2015-06-29 20:40:32 -04:00 |
arvidn
|
d887f5719d
|
it's called peer_list now
|
2015-06-29 19:56:39 -04:00 |
arvidn
|
e2784df13c
|
factor out file progress tracking from the torrent class
|
2015-06-28 22:47:11 -04:00 |
arvidn
|
4054b4374b
|
whitespace
|
2015-06-22 23:32:02 -04:00 |
arvidn
|
130fc2d640
|
forward port logging patch from RC_1_0
|
2015-06-22 02:14:17 -04:00 |
arvidn
|
8b66fbe194
|
fix bug in previous commit
|
2015-06-20 18:17:49 -04:00 |
arvidn
|
665b553941
|
merged logging patch from RC_1_0
|
2015-06-20 17:51:59 -04:00 |
arvidn
|
ad8971d6da
|
fix typo
|
2015-06-20 16:42:18 -04:00 |
arvidn
|
c2eaa26ce6
|
whitespace
|
2015-06-20 13:44:07 -04:00 |
arvidn
|
8d408c4c86
|
add shortcut in async resolver for raw IPs.
|
2015-06-16 23:45:05 -04:00 |
arvidn
|
323af56cc2
|
update interest when changing upload-only mode
|
2015-06-16 01:24:35 -04:00 |
arvidn
|
bd2bcf12bc
|
fix bug on write-only disk errors (it's not supposed to stop the torrent)
|
2015-06-15 02:27:09 -04:00 |
arvidn
|
0d6e65ec24
|
improve reliability of some of the unit tests
|
2015-06-10 01:22:01 -04:00 |
arvidn
|
9af8841244
|
remove some unnecessary asio typedefs in the libtorrent namespace, just pull ip::tcp and ip::udp
|
2015-06-06 13:49:18 -04:00 |
arvidn
|
41533205be
|
drop support for boost 1.35 and fix some more references to the asio namespace
|
2015-06-06 02:10:53 -04:00 |
Arvid Norberg
|
d43f7b56a2
|
update copyright year
|
2015-06-03 05:18:48 +00:00 |
Arvid Norberg
|
9b0313bd8e
|
hold settings_pack by shared_ptr when passing it across thread boundaries. don't allocate it on the heap redundantly
|
2015-05-29 05:27:53 +00:00 |
Arvid Norberg
|
06bf225237
|
fix release build and tune want_tick
|
2015-05-26 20:09:19 +00:00 |
Arvid Norberg
|
09bc072c31
|
inactive/auto managed fixes. fix client_test key input
|
2015-05-26 18:39:49 +00:00 |
Arvid Norberg
|
c6f8dd408a
|
optimize recalculate auto-managed
|
2015-05-25 21:46:42 +00:00 |
Arvid Norberg
|
0de44067aa
|
fix warnings
|
2015-05-19 04:59:31 +00:00 |