Commit Graph

3669 Commits (376a07df00dbb62cad2a8d1caebceb705ca2287d)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 388ae843ca `make clang-format` 2016-12-15 22:37:19 +09:00
Tatsuhiro Tsujikawa ddc1f1bfda Fix bug that lower bound of optimize-concurrent-downloads becomes 1 2016-12-05 21:18:31 +09:00
Tatsuhiro Tsujikawa 4473b870f4 Merge pull request #795 from aria2/show-dht-nodes
Print DHT nodes with -S option
2016-12-04 10:32:30 +09:00
Tatsuhiro Tsujikawa 7a089ae04a Merge pull request #794 from aria2/fix-dht-node-resolv
Take into account address family when resolving DHT node address
2016-12-04 10:31:53 +09:00
Tatsuhiro Tsujikawa c679390392 Print DHT nodes with -S option 2016-12-03 16:27:29 +09:00
Tatsuhiro Tsujikawa 3d5c76800d Take into account address family when resolving DHT node address 2016-12-03 16:18:14 +09:00
Tatsuhiro Tsujikawa e4f3d633c1 Use stdin for *NIX as well
We thought that we can use /dev/stdin for *NIX, but some variants,
like Android, does not have one or root permission is required.  Just
like we do for Windows build, we just use stdin if /dev/stdin is used.
2016-11-26 22:42:20 +09:00
Tatsuhiro Tsujikawa d0a0645836 We already replaced "-" with DEV_STDIN in LocalFilePathOptionHandler 2016-11-26 22:16:18 +09:00
Tatsuhiro Tsujikawa 380e5aa451 Merge branch 'user-home-variable-expansion' 2016-11-26 16:28:59 +09:00
Tatsuhiro Tsujikawa 14e995d2bc Allow block device file to -i option 2016-11-26 16:26:33 +09:00
Tatsuhiro Tsujikawa 9df50804d4 Merge pull request #772 from aria2/refactor-wintls-write
WinTLS: Rewrite writeData
2016-11-23 22:57:58 +09:00
Tatsuhiro Tsujikawa 9214e72501 Expand ${HOME} to user's home directory in several options
The following options implement this substitution:

* --ca-certificate
* --certificate
* --dht-file-path
* --dht-file-path6
* --dir
* --input-file
* --load-cookies
* --log
* --metalink-file
* --netrc-path
* --on-bt-download-complete
* --on-download-complete
* --on-download-error
* --on-download-start
* --on-download-stop
* --on-download_pause
* --out
* --private-key
* --rpc-certificate
* --rpc-private-key
* --save-cookies
* --save-session
* --server-stat-if
* --server-stat-of
* --torrent-file
2016-11-23 22:45:17 +09:00
Michał Górny 02985711df configure: Use pkg-config to find libs whenever possible
Use pkg-config to find cppunit, libxml2 and expat. All those libraries
provide pkg-config files, and in all of those cases the pkg-config macro
is superior to the custom macros used currently.

The advantages of pkg-config files include:

- Explicit static linking support via --static. Currently, e.g.
'xml2-config --libs' prints all libraries needed for static linking when
doing dynamic linking unnecessary, resulting in unnecessary direct deps.

- Better cross-build support. You don't have to build the additional
*-config tools for target.

- Better multilib support. Per-ABI pkgconfig directories are commonly
supported while packages usually fail to look for per-CHOST *-config
variants.

- Better override support. The current macros allow little to no
result overrides, the pkg-config macros let you pass FOO_CFLAGS
and FOO_LIBS manually.

- Cleaner version checks. The code used in libxml.m4 is really creepy.
2016-11-12 22:13:48 +01:00
Tatsuhiro Tsujikawa d974c935cd WinTLS: Rewrite writeData
We re-wrote WinTLSSession::writeData.  The major points are:

* Buffer is now preallocated once handshake is finished.  Previously,
  they are allocated each time when we send one TLS record.

* Schannel uses header, body and trailer for each secBuffer.  Now we
  send them off at once using WSASend which is windows counterpart of
  sendv.  Previously, we do memmove if some of them are truncated.

* We don't try to send application data in
  WinTLSSession::closeConnection, since semantically we need same
  application data used to create TLS record before.  Using 0 length
  data to finish sending buffered data looks like a hack.
2016-11-12 22:20:41 +09:00
Tatsuhiro Tsujikawa d289dc1108 WinTLS: Fix busy loop on write error 2016-11-09 23:08:25 +09:00
Tatsuhiro Tsujikawa 2df30b1447 Support 1xx non-final response 2016-11-03 16:29:04 +09:00
Tatsuhiro Tsujikawa 90452ae11b Don't download piece which is filtered out (e.g., --select-file)
This commit fixes the bug that piece which is not requested by
--select-file is downloaded in multi-file WebSeeding.
2016-10-26 22:40:00 +09:00
Tatsuhiro Tsujikawa aa4ea8889c clang-format-3.9 2016-10-15 19:02:54 +09:00
Juan Francisco Cantero Hurtado 206d6fc062 Restore LTLIBINTL in src/Makefile.am 2016-09-29 01:02:06 +02:00
Tatsuhiro Tsujikawa ae78d7f7d0 Enable --keep-unfinished-download-result by default 2016-09-26 22:07:35 +09:00
Tatsuhiro Tsujikawa e31f537ac5 Update copyright year to 2016 2016-09-26 21:56:38 +09:00
Tatsuhiro Tsujikawa 55f311a908 Add --keep-unfinished-download-result option
This option keeps unfinished download results even if doing so exceeds
--max-download-result. This is useful if all unfinished downloads must
be saved in session file (see --save-session option). Please keep in
mind that there is no upper bound to the number of unfinished download
result to keep.  User should use this option only when they know the
total number of downloads in advance.
2016-09-24 11:42:43 +09:00
Tatsuhiro Tsujikawa c3aedf480d Fix -Wexpansion-to-defined warning with clang-3.9
The error message was:

warning: macro expansion producing 'defined' has undefined behavior
[-Wexpansion-to-defined]

http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html
2016-09-19 22:10:21 +09:00
Tatsuhiro Tsujikawa a31e73d902 Fix bug that file name is not logged with --conditional-get 2016-09-17 17:21:42 +09:00
Tatsuhiro Tsujikawa cfaec39be1 Add missing libssl_compat.h to SRCS 2016-09-17 09:05:52 +09:00
Tatsuhiro Tsujikawa 16797b5264 clang-format 2016-09-16 21:52:58 +09:00
Tatsuhiro Tsujikawa 8cdcb71308 Fix possible cause of crash after metadata download 2016-09-05 22:44:40 +09:00
Tatsuhiro Tsujikawa 3af50e5140 Fix log message 2016-09-05 21:04:30 +09:00
Fredrik Fornwall 5ca9cb6959 Remove custom ftruncate64 for Android
The latest NDK versions support ftruncate64, so building a local
copy of ftruncate64 is no longer needed.

Also, the arm and x86 builds of ftruncate64 failed when targetting
API level 21 or higher, as they include <linux/err.h> which are
not present starting from API level 21.
2016-09-03 23:14:18 +02:00
Tatsuhiro Tsujikawa d73dd9c372 Fix typo found by Debian's Lintian 2016-09-03 22:46:10 +09:00
Tatsuhiro Tsujikawa 3d97ed05f6 Merge branch 'tobbez-fix-comment' 2016-08-30 22:00:09 +09:00
Nils Maier 414dd14dec Add --save-not-found option 2016-08-30 14:23:42 +02:00
Nils Maier 852e2db586 Simplify session serializer 2016-08-30 14:22:39 +02:00
Torbjörn Lönnemark e86bcd3d24 Update comment to match code 2016-08-30 10:55:27 +02:00
Nils Maier 366e2e8f79 Use default where possible 2016-08-29 16:52:20 +02:00
Nils Maier 08f4b5e4f4 WinTLS: Better errors (from WSA) 2016-08-29 16:51:18 +02:00
Tatsuhiro Tsujikawa 3cdde0f425 Compile with openssl 1.1.0
We moved @CPPUNIT_LIBS@ to later position.  This is because in my
development environment, it adds linker search directory which
contains system default openssl, while I'd like to use my custom
openssl installation.  This fix is not universal, since other
libraries can do the same thing.  It is a bit hard to fix this
properly because we mix -L and -l in a same variable.
2016-08-27 00:35:28 +09:00
Tatsuhiro Tsujikawa 7a31f9bf29 Make assertion hold
If we have peer which is already used, make addAndCheckoutPeer() fail.
If peer is in unused list, first remove the old entry, and then add
new one.  This would make assertion in ~DefaultPeerStorage hold.
2016-08-20 18:49:19 +09:00
Tatsuhiro Tsujikawa c42fa9f20c Revert "Remove false assertion"
This reverts commit 65b7205dfd.
2016-08-20 18:27:43 +09:00
Tatsuhiro Tsujikawa 65b7205dfd Remove false assertion
As of 4df7b540a2, the assertion no
longer holds.
2016-08-20 18:22:23 +09:00
Tatsuhiro Tsujikawa 48310915ee Replace "/" with "-" in magnet dn name when used as in-memory download name 2016-08-01 22:25:03 +09:00
Tatsuhiro Tsujikawa 8e07568a9e clang-format 2016-07-21 01:00:47 +09:00
Tatsuhiro Tsujikawa 5b4e3361d4 Update --auto-file-renaming help text according to the manual page 2016-07-20 22:51:12 +09:00
Tatsuhiro Tsujikawa 9a63e59104 Extend maximum BitTorrent incoming payload size to 64KiB 2016-07-20 22:42:29 +09:00
103yiran d1afaa2ff1 correcting the copyright format error 2016-07-20 11:21:00 +08:00
103yiran 8c1ebd2e4f correcting the copyright format error 2016-07-20 11:19:42 +08:00
103yiran 193073754d correcting the copyright format error 2016-07-20 11:18:23 +08:00
103yiran e5ece7586e correcting the copyright format error 2016-07-20 11:17:07 +08:00
103yiran d25fdd3636 correcting the copyright format error 2016-07-20 11:13:56 +08:00
103yiran 0eaeda9548 correcting the copyright format error 2016-07-20 11:11:00 +08:00
103yiran d3e9c34bd5 correcting the copyright format error 2016-07-20 11:09:20 +08:00
103yiran 24949b7c70 correcting the copyright format error 2016-07-20 11:04:59 +08:00
Nils Maier f5ceeebe86 Fix some compiler warnings 2016-07-19 20:55:42 +02:00
Nils Maier 665a1d1b35 Better auto-renaming
Up until now aria2 file auto renaming worked by just appending a new
unique number to the file path, behind the file name extension, if any,
changing what most other programs consider the file extension in the
process.
Now, aria2 will attempt to insert the number before the file extension,
leaving the extension intact, so that e.g. a ".jpg" still is a ".jpg"
file and opens in your configured image viewer when clicking it.
If a file has no extension (incl. so called "dot files"), the number
will be appended to the file name as usual.

Note: This is a potentially breaking change that might break third party
scripts that rely on aria2 auto file renaming producing a certain format
for renamed files. Please fix your scripts accordingly.

Closes GH-709
2016-07-19 20:55:41 +02:00
Nils Maier b6d9e7a01f Log number of items loaded from input file 2016-07-19 20:55:41 +02:00
Tatsuhiro Tsujikawa 196e4cbede Use C++ style cast 2016-07-18 17:41:09 +09:00
Tatsuhiro Tsujikawa 196f8c4ad9 Fix help output 2016-07-18 17:38:52 +09:00
Tatsuhiro Tsujikawa 99e5d85de0 Merge branch 'seed' of https://github.com/SSSSeb/aria2 into SSSSeb-seed 2016-07-18 17:34:34 +09:00
Tatsuhiro Tsujikawa 3220989f56 Link external libraries to libaria2 with --enable-libaria2 2016-07-17 19:17:12 +09:00
Tatsuhiro Tsujikawa 777b818690 Add offset value to Timer::clock::now() to treat 0 as special value 2016-07-14 00:52:43 +09:00
Sébastien Cabaniols 7410b27990 allow seconds for seed-time (fractional minutes) 2016-07-12 09:58:56 +02:00
Tatsuhiro Tsujikawa 01f870221b Fix have entry removal 2016-07-11 01:29:12 +09:00
Tatsuhiro Tsujikawa babdcb2c7d Change have entry indexing method
Now use increasing sequence of integer rather than timer value.
2016-07-10 22:42:49 +09:00
Tatsuhiro Tsujikawa f2aa7564b0 Remove unnecessary condition 2016-07-10 00:05:08 +09:00
Tatsuhiro Tsujikawa 4d27668d7c Decide interest and choking after receiving messages 2016-07-10 00:04:42 +09:00
Tatsuhiro Tsujikawa c4cf8fa61d Send have message without too much delay
Also send bitfield rather than have messages if bitfield message is
equal to or less than the sum of have messages which otherwise would
be sent.
2016-07-09 21:36:57 +09:00
Tatsuhiro Tsujikawa ae11b7a85d Fix bug that causes bogus EOF connection failure in BitTorrent downloads 2016-07-09 21:36:57 +09:00
Tatsuhiro Tsujikawa 41df1607f6 Fix frequent interested/not interested message transmission 2016-07-09 21:36:57 +09:00
Tatsuhiro Tsujikawa 570d46725f Fix frequent choke/unchoke message transmission 2016-07-09 21:36:57 +09:00
Tatsuhiro Tsujikawa 360ca57231 Try to use available URI if all pooled requests are sleeping 2016-07-07 23:51:51 +09:00
Tatsuhiro Tsujikawa a1ce6d2e7f Set server status error on network failure 2016-07-05 23:15:52 +09:00
Tatsuhiro Tsujikawa 295affe160 Disable AI_ADDRCONFIG if no IPv4/IPv6 address is configured for any interface 2016-07-04 22:06:35 +09:00
Tatsuhiro Tsujikawa 4df7b540a2 Fix warning "Cannot fid peer ... in usedPeers_" 2016-07-03 05:26:41 +09:00
Tatsuhiro Tsujikawa f7cbbfd209 Retain peers obtained earlier 2016-07-02 16:05:22 +09:00
Tatsuhiro Tsujikawa d38da969a5 Apply --retry-wait on 503 only 2016-06-21 23:46:54 +09:00
Tatsuhiro Tsujikawa e8fcedf092 Take into account timeout 2016-06-21 23:30:39 +09:00
Tatsuhiro Tsujikawa 10b64e281a Ensure that lowest speed check is done even when download speed is 0 2016-06-21 23:25:24 +09:00
Tatsuhiro Tsujikawa 2365c91994 Document that -o is always relative to -d option 2016-06-21 22:50:37 +09:00
Tatsuhiro Tsujikawa 1e59e357af Fix compile error on OS X 2016-06-19 19:08:17 +09:00
Tatsuhiro Tsujikawa f6f672f4d9 Allow larger ut_metadata size 2016-06-17 23:07:55 +09:00
Tatsuhiro Tsujikawa a86a823f50 mingw: Change FD_SETSIZE to 32768 2016-06-16 23:00:21 +09:00
Tatsuhiro Tsujikawa fa07d0be35 Fix uninitialized variable 2016-06-14 21:55:42 +09:00
Tatsuhiro Tsujikawa 2dd10c9645 Revert "Remove dead code"
This reverts commit fd024e6773.
2016-06-12 09:52:58 +09:00
Tatsuhiro Tsujikawa fd024e6773 Remove dead code 2016-06-10 00:18:35 +09:00
Tatsuhiro Tsujikawa e220c53849 BitTorrent: Allow 32KiB request
It looks like the 32KiB is the default request size of python
bittorrent client.  Previously, aria2 only allowed maximum 16KiB
request.
2016-06-10 00:14:48 +09:00
Tatsuhiro Tsujikawa 0d14444f0b Merge branch 'master' into dynamic-select-file 2016-06-07 21:13:09 +09:00
Tatsuhiro Tsujikawa 887f7a6b90 Fix busy loop when upload rate limit hits 2016-06-06 23:41:33 +09:00
Tatsuhiro Tsujikawa 5ec84f9eae Enable write socket check when there is pending messages to send 2016-06-05 11:26:41 +09:00
Tatsuhiro Tsujikawa 93bd6cfbb8 Disable opt unchoking for bad peer 2016-06-05 11:26:08 +09:00
Tatsuhiro Tsujikawa 22a91dfe12 Set Peer::chokingRequired(true) for all active peers 2016-06-05 11:22:20 +09:00
Tatsuhiro Tsujikawa 12b903f312 Set Peer::chokingRequired(true) for all active peer 2016-06-05 11:21:48 +09:00
Tatsuhiro Tsujikawa e31a49b8ee Don't unchoke peer which is not interested in us 2016-06-05 11:10:20 +09:00
Tatsuhiro Tsujikawa ef9e67aeb2 Fix bug that evaluation of Peer::amChoking is negated 2016-06-05 11:09:30 +09:00
Tatsuhiro Tsujikawa b95d7fbfec Remove PeerStorage:scheduleForcedChokeRound since it is not effective 2016-06-04 22:11:51 +09:00
Tatsuhiro Tsujikawa 6b8611885b Unchoke not-uploading peer if we could not find 3 regular unchokers 2016-06-04 22:10:34 +09:00
Tatsuhiro Tsujikawa 482cf6aca4 Fasten seed/download on fast connection 2016-06-02 22:13:47 +09:00
Tatsuhiro Tsujikawa a0706f5a44 Make seeder do more get_peers to announce its presence 2016-06-02 00:09:54 +09:00
Tatsuhiro Tsujikawa 9486663259 Increase DHT task concurrency to 15 2016-05-31 22:24:19 +09:00
Tatsuhiro Tsujikawa b64ea39c7b Clang-format and small amends
mapaddr_ is always nullptr in this context, so no need to set to
nullptr again.
2016-05-31 22:21:17 +09:00
Tatsuhiro Tsujikawa eac72b9045 Merge branch 'fix-mmap-check' of https://github.com/c3V6a2Vy/aria2 into c3V6a2Vy-fix-mmap-check 2016-05-31 22:16:42 +09:00
Tatsuhiro Tsujikawa 3e00be26e8 Include local IP address to DHT GetPeers reply message
This is required when DHT is used in private network, where seeder is
initially not known to all nodes.  This functionality requires
--bt-external-ip is set since aria2 cannot figure out external IP
address to advertise in general.
2016-05-27 23:28:53 +09:00
suzker fa43431974 fixed mmap failure check with MAP_FAILED flag 2016-05-27 02:07:02 -07:00
suzker ef0a2e601f Compare filesize directly to the numeric max of size_t 2016-05-25 07:43:57 -07:00
suzker 43aea5c940 added filesize overflow check for mmap on 32bit os 2016-05-24 16:37:31 -07:00
Tatsuhiro Tsujikawa c57259f8e7 Use standard percent-encode for tracker request query 2016-05-23 22:16:04 +09:00
Tatsuhiro Tsujikawa 9d40c47799 Merge branch 'master' into dynamic-select-file 2016-05-22 20:57:33 +09:00
Tatsuhiro Tsujikawa 949a580a14 mingw32: Gain privilege before opening files 2016-05-18 22:59:46 +09:00
Tatsuhiro Tsujikawa 9727b5b256 Merge branch 'master' into dynamic-select-file 2016-05-16 12:27:14 +09:00
Tatsuhiro Tsujikawa 56a114746a Use std::make_shared for efficiency 2016-05-16 00:05:28 +09:00
Tatsuhiro Tsujikawa cef9109070 Refactor BtBitfieldMessage 2016-05-16 00:03:02 +09:00
Tatsuhiro Tsujikawa dae42d0cd0 Remove unused SimpleBtMessage::getMessageLength 2016-05-15 23:44:54 +09:00
Tatsuhiro Tsujikawa a7237c69f7 Refactor BitTorrent message buffer usage 2016-05-15 23:40:52 +09:00
Tatsuhiro Tsujikawa cc8375f0b0 Refactor BtHandshakeMessage 2016-05-15 22:00:16 +09:00
Tatsuhiro Tsujikawa 2449ee6a76 Simplify cache write
The previous cache write routine was too complex.  I'm sure I can
rewrite it to more elegantly.  But the primary motivation of this
complex logic is for disk activity reduction on Windows 7, and I
observed it on my old IDE disk.  I checked it again recently, and
there is no difference between with and without this complex logic.
For this reason, it was removed.  Will revert this change if many of
users are not happy with this.
2016-05-15 18:47:13 +09:00
Tatsuhiro Tsujikawa bafbbe7c1d Allow subsecond value in ns cookie.txt file's expiry time field 2016-05-15 18:40:50 +09:00
Tatsuhiro Tsujikawa 6976ffed9e Adjust chromium cookie time 2016-05-15 17:58:01 +09:00
Tatsuhiro Tsujikawa 3443349fc3 Refactor 2016-05-14 19:50:58 +09:00
Tatsuhiro Tsujikawa 8897d7ec70 Restart active download to apply previously not applicable options
Previously, we categorized options that can be used in
aria2.changeOption RPC method into 2 categories.  The options in one
category can be applied on the fly, meaning that download continues to
be active while applying options.  Another category includes options
which are only applicable when downloads are waiting or paused.

In this change, when active download is ordered to change options
which only applicable in waiting or paused state, it is now paused,
and then automatically restarted.  Although we have limited number of
download concurrency, the pause and restart is done atomically, and
the download is inserted at the front of the queue, it is picked up
immediately if the concurrency regulation allows.
2016-05-06 18:31:50 +09:00
Tatsuhiro Tsujikawa e174b90ff2 Fix compile error 2016-05-02 23:51:16 +09:00
Tatsuhiro Tsujikawa 94a45bfbfc Documented new options 2016-04-27 00:28:27 +09:00
Tatsuhiro Tsujikawa db239c2853 Add --stderr option to redirect all stdout log output to stderr 2016-04-27 00:16:55 +09:00
Tatsuhiro Tsujikawa aa863fa4d1 Add "hide" to --download-result option 2016-04-26 23:35:44 +09:00
Tatsuhiro Tsujikawa 3c637fa3d5 Fix downloaded metaurl torrent filename 2016-04-23 19:29:01 +09:00
Tatsuhiro Tsujikawa 1ce6ac0b23 Add error handling for sigaction, signal and strdup 2016-04-23 18:18:06 +09:00
Tatsuhiro Tsujikawa b316b2cec5 clang-format 2016-04-21 23:03:24 +09:00
Tatsuhiro Tsujikawa aab2472390 Remove trailing "." from SAN and CN 2016-04-21 23:02:58 +09:00
rotor cefea5db5a Add a little bit of color to have a better visual of important informations 2016-04-20 00:22:34 +09:00
Tatsuhiro Tsujikawa e8bd019570 Relocate from github.com/tatsuhiro-t/aria2 to github.com/aria2/aria2 2016-04-18 22:31:07 +09:00
Tatsuhiro Tsujikawa 1126722bd3 mingw: Defer the falloc warning until falloc is specified by option 2016-04-18 22:17:41 +09:00
Tatsuhiro Tsujikawa ca634a82bd Add bittorrent key to aria2.tellStopped status 2016-04-17 21:06:41 +09:00
Tatsuhiro Tsujikawa 2e0e8ed0e5 Amend 2016-04-15 23:54:10 +09:00
Tatsuhiro Tsujikawa 302bdfd9a0 Merge branch 'RpcTellStatus-Hashing' of https://github.com/kkartaltepe/aria2 into kkartaltepe-RpcTellStatus-Hashing 2016-04-15 23:33:26 +09:00
Tatsuhiro Tsujikawa 8fc28a9e43 clang-format 2016-04-15 23:31:00 +09:00
Tatsuhiro Tsujikawa cf1dd06d03 Merge branch 'system.listNotifications' of https://github.com/sonnyp/aria2 into sonnyp-system.listNotifications 2016-04-15 23:26:38 +09:00
Tatsuhiro Tsujikawa 437d4aa776 Fix compile error with Android NDK 2016-04-15 23:09:54 +09:00
Tatsuhiro Tsujikawa a474183bd3 clang-format 2016-04-15 23:09:54 +09:00
Tatsuhiro Tsujikawa ce868d75bd Fix issues reported by coverity 2016-04-13 19:20:19 +09:00
Sonny Piers d3f16a5711 system.listNotifications RPC method 2016-04-08 18:09:50 +02:00
Tatsuhiro Tsujikawa 395b8e93c5 Make single-etnry metalink download with multi-file torrent work 2016-03-27 19:29:19 +09:00
Tatsuhiro Tsujikawa d64089632e Merge branch 'master' into random-webseeding 2016-03-26 17:20:27 +09:00
Tatsuhiro Tsujikawa a7cd943a06 clang-format 2016-03-26 00:35:16 +09:00
Tatsuhiro Tsujikawa 2a8522f6a5 Attemp to fix compile error 2016-03-26 00:32:00 +09:00
Kurt Kartaltepe 2417225023 Report CheckIntegrity info in tellStatus
- Adds verifiedLength to tellStatus. Reports the length of data that has
been verified of the current RequestGroup being verified.
- Adds verifyPending to tellStatus. Reports if the RequestGroup has a
verification of integrity pending.

Closes #561
2016-03-22 23:38:38 -05:00
Tatsuhiro Tsujikawa f316c94710 Ignore floating number in torrent file 2016-03-17 23:28:28 +09:00
Tatsuhiro Tsujikawa bf3d95c5d1 Give advanced tag to optimize-concurrent-downloads option 2016-03-16 22:11:51 +09:00
Tatsuhiro Tsujikawa db5af2cec3 Fit into 80 columns 2016-03-16 21:40:42 +09:00
Tatsuhiro Tsujikawa 60d0cb0e24 Remove trailing white spaces 2016-03-16 21:25:43 +09:00
oliviercommelarbre 9e05371fb6 Added support for a dynamic management of the number of concurrent downloads as a function of the overall bandwidth observed 2016-03-16 21:22:49 +09:00
Tatsuhiro Tsujikawa f0f1b8ef47 clang-format-3.6 2016-03-15 23:49:56 +09:00
Tatsuhiro Tsujikawa 4595aa75e1 SessionSerializer: Fix bug that pause=true is added to wrong item
This change also defers writing metadata download to the location
where first its follower download is written.
2016-03-13 16:11:29 +09:00