arvidn
|
f79a9c7adf
|
merged RC_1_1 into master
|
2016-03-16 19:59:53 -04:00 |
arvidn
|
921cbeebed
|
add option to delete just the partfile when removing a torrent
|
2016-03-14 08:26:39 -04:00 |
arvidn
|
6d85c7c5f0
|
merge RC_1_1 into master
|
2016-03-08 01:10:48 -05:00 |
arvidn
|
71e3fb8941
|
fix division by zero in super-seeding logic
|
2016-03-07 23:40:01 -05:00 |
arvidn
|
f5d5ac4f3a
|
fix bug where disk cache was wiped out after completion file-checking. factor out sim test utilities and reuse them in the regression test
|
2016-03-06 21:44:38 -05:00 |
arvidn
|
67774d660d
|
always keep at least 2 async hash jobs outstanding when rechecking torrents (to keep the bandwidth delay product full)
|
2016-03-06 16:31:18 -05:00 |
arvidn
|
e851b79865
|
fix issue when shutting down a torrent with outstanding async operations
|
2016-03-02 01:16:08 -05:00 |
arvidn
|
2fd8047308
|
merged RC_1_1
|
2016-02-24 21:22:39 -05:00 |
arvidn
|
e5ccb63375
|
fix build with openssl and deprecated functions disabled
|
2016-02-24 02:07:27 -05:00 |
arvidn
|
57aa813135
|
fix auto-managed issue with torrents transitioning to 'slow' as they get paused, returning to life again later because of it
|
2016-02-23 01:28:58 -05:00 |
arvidn
|
967ec412a5
|
Merge branch 'RC_1_1'
|
2016-02-21 15:21:33 -05:00 |
Arvid Norberg
|
d172733c87
|
Merge pull request #487 from arvidn/fix-resume-checking-torrent
fix resuming of torrents that were checking files
|
2016-02-21 15:21:10 -05:00 |
arvidn
|
421bef5b68
|
fix resuming of torrents that were checking files
|
2016-02-21 11:32:50 -05:00 |
arvidn
|
cc8066bf11
|
properly deprecated adding torrents by http url
|
2016-02-21 11:31:42 -05:00 |
arvidn
|
3f3b366ed5
|
be a bit more strict about when the STL containers need complete types (to make it build under GCC with concept checks enabled). add proper assignment operator to types used in STL containers
|
2016-02-21 11:29:01 -05:00 |
Arvid Norberg
|
5d18800e04
|
Merge pull request #486 from arvidn/force-recheck-1.1
make force recheck a bit more robust
|
2016-02-20 19:53:56 -05:00 |
arvidn
|
3231aa4c9d
|
make force recheck a bit more robust by initializing the progress state immediately
|
2016-02-20 15:53:43 -05:00 |
arvidn
|
3f40890eb6
|
simplify logic for saving resume a bit
|
2016-02-20 15:45:46 -05:00 |
arvidn
|
d599bef0ee
|
add unit test for read_resume_data
|
2016-02-20 13:26:21 -05:00 |
arvidn
|
b581fef437
|
resume checking of torrents
|
2016-02-20 13:26:21 -05:00 |
arvidn
|
a5d131b1bb
|
post fastresume_reject_alerts when building with deprecated functions enabled
|
2016-02-20 13:26:21 -05:00 |
arvidn
|
cc49b876bb
|
add flag for initializing m_need_save_resume_data when adding torrent
|
2016-02-20 13:26:21 -05:00 |
arvidn
|
40f6afc2f8
|
save and restore storage allocation mode in resume data
|
2016-02-20 13:26:21 -05:00 |
arvidn
|
c9d7e54d7b
|
make tests pass
|
2016-02-20 12:50:52 -05:00 |
arvidn
|
8135ea326f
|
rename async_check_fastresume to async_check_files, and make it take an add_torrent_params object instead of bencoded resume data
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
4ef55073e3
|
transition mapped_files over to the new add_torrent_params
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
6e88771981
|
transition merkle tree support over to the new read_resume_data()
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
6223057b1e
|
added support for pieces, verified pieces and piece_priorities in new resume data scheme
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
a60bbe0a1c
|
fix loading of peers and banned_peers from resume_data
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
35b998f90d
|
introduce backwards-compatibility, of loading resume data and merging it with the add_torrent_params. add some more missing fields. deprecate some more flags in add_torrent_params
|
2016-02-20 02:00:07 -05:00 |
arvidn
|
e0ee12d4f3
|
remove m_resume_data and m_resume_data_loaded members from torrent
|
2016-02-20 02:00:06 -05:00 |
arvidn
|
197ded5a0d
|
revamp the way resume data is read, by providing a function for the client to parse resume data, capturing it in add_torrent_params
|
2016-02-20 02:00:06 -05:00 |
arvidn
|
1710b7c750
|
Merge branch 'RC_1_1'
|
2016-02-20 01:58:39 -05:00 |
arvidn
|
5cf36fd1d6
|
only save pieces in resume data that have actually been checked
|
2016-02-20 00:48:17 -05:00 |
arvidn
|
6d77000ab0
|
deprecate ssl_listen setting. instead ssl sockets are specified by an 's' suffix of the port in listen_interfaces.
|
2016-02-12 15:46:12 -05:00 |
arvidn
|
887e79eb22
|
improve support for listening on multiple sockets and interfaces, with the listen_interfaces setting
|
2016-02-12 15:44:17 -05:00 |
arvidn
|
4f40f84a7e
|
Merge branch 'RC_1_1'
|
2016-02-08 15:28:34 -05:00 |
arvidn
|
dd48faa8d4
|
minor debug logging issue in test facility wait-for-alert and fix minor shutdown issue with udp_socket packet subscription
|
2016-02-08 02:05:00 -05:00 |
arvidn
|
f4627db97f
|
removed unused field in torrent
|
2016-02-07 02:37:32 -05:00 |
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 |