Commit Graph

3830 Commits (19b5b7e214a3d29e1579af4504ba5c90e1dc3e36)

Author SHA1 Message Date
Tatsuhiro Tsujikawa c8e7100248 Documented --force-save option in man page 2012-11-17 15:41:37 +09:00
Tatsuhiro Tsujikawa e0dcb942b2 Added --force-save option.
--force-save option saves download with --save-session option even if
the download is completed or removed. This may be useful to save
BitTorrent seeding which is recognized as completed state.  The
default value is false.
2012-11-17 15:33:44 +09:00
Tatsuhiro Tsujikawa 2ee4361848 Removed unused static function util::parseParam 2012-11-17 14:38:55 +09:00
Tatsuhiro Tsujikawa 9c1fe4addd Use array_ptr to remove try block 2012-11-15 22:05:59 +09:00
Tatsuhiro Tsujikawa 6b2f5ab1f5 SocketCore::bind now accepts const char* host instead of std::string 2012-11-15 21:09:10 +09:00
Tatsuhiro Tsujikawa b2893f1e31 Get the correct uploaded data size
Subtract msgHdrLen_ from writtenLength to get the uploaded data size.
Without this correction, the seeder assumes it has uploaded more data
than it actually has.
2012-11-04 16:49:39 +09:00
Tatsuhiro Tsujikawa 31189b1222 Made return type of util::parse_content_disposition ssize_t 2012-11-01 22:54:32 +09:00
Tatsuhiro Tsujikawa 7db480b024 Updated bash_completion 2012-10-31 22:48:45 +09:00
Tatsuhiro Tsujikawa 08cd68ec95 Removed Socket.h from SRCS 2012-10-31 19:07:08 +09:00
ITriskTI cb5984ce52 Update doc/manual-src/ru/aria2c.rst 2012-10-31 12:47:11 +03:00
Tatsuhiro Tsujikawa bf342a2827 Fixed compile error with mingw 2012-10-31 17:10:49 +09:00
Tatsuhiro Tsujikawa f4f6ecda37 Bump up version number to 1.16.0 2012-10-31 16:47:26 +09:00
Tatsuhiro Tsujikawa d4e7b51eb9 Made --http-no-cache false by default 2012-10-31 16:44:28 +09:00
Tatsuhiro Tsujikawa eacbd50e75 Added makerelease script
makerelease script creates distribution packages including source tar
ball, mingw 32 and 64 bit and android binary packages.
2012-10-31 16:39:06 +09:00
Tatsuhiro Tsujikawa 4d6c1a8748 Added .gitignore in doc/manual-src 2012-10-31 16:36:45 +09:00
Tatsuhiro Tsujikawa 49e9f66c16 Use len formal parameter of util::parse_content_disposition 2012-10-31 01:24:10 +09:00
Tatsuhiro Tsujikawa 5dfd1a5af7 Fixed memory leak 2012-10-29 23:43:35 +09:00
Tatsuhiro Tsujikawa 00e3151110 Initialized member 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa f60b956a48 Removed always-true condition 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 39da18f156 Removed dead code 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 2676bbe9c6 Initialized scalar members 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa feb548e174 Removed unused members 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 6fddbc845c Removed dead code 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa f42199b46d Fixed resource leak 2012-10-29 23:42:58 +09:00
Tatsuhiro Tsujikawa 8566d050ff Reset stream format state 2012-10-29 22:39:09 +09:00
Tatsuhiro Tsujikawa d6f73292fa gnutls: Added more status checking when verifying peer 2012-10-27 17:46:53 +09:00
Tatsuhiro Tsujikawa d689ad3bd0 Added RFC 6266 in References section 2012-10-27 17:00:13 +09:00
Tatsuhiro Tsujikawa 118aed9c24 Content-Disposition parser conforming to RFC 6266.
RFC 2231 Continuation is not supported.
2012-10-27 14:51:07 +09:00
Tatsuhiro Tsujikawa 21c3903af0 Simplified TransferStat struct 2012-10-26 00:16:20 +09:00
Tatsuhiro Tsujikawa 0ecfa19925 Reworked download/upload statistics calculation
The old implementation calculates download/upload statistics for a
RequestGroup by summing up all PeerStat objects. For global
statistics, those are summed together. This clearly incurs runtime
penalty and we introduced some kind of caching which updates
statistics every 250ms but it did not work right.

This change removes all these aggregation code, and instead makes
RequestGroup and RequestGroupMan objects hold NetStat object and
download/upload bytes are directly calculated by thier own NetStat.
This is far more simplar than the old way and less runtime penalty and
brings more accuracy.
2012-10-25 23:33:45 +09:00
Tatsuhiro Tsujikawa 46bdaf0e8d Made HTTP/FTP download speed limiter more accurate
We have to do the same thing for BitTorrent.
2012-10-24 01:05:41 +09:00
Tatsuhiro Tsujikawa ea456001d3 Updated po templates 2012-10-17 21:33:51 +09:00
ITriskTI bc33433e58 Update and fixed some bugs 2012-10-17 10:40:11 +03:00
Tatsuhiro Tsujikawa b48d9082db Documented --rpc-save-upload-metadata option in manpage 2012-10-16 22:55:35 +09:00
Tatsuhiro Tsujikawa da8086cbc9 Updated doc 2012-10-16 22:55:14 +09:00
Tatsuhiro Tsujikawa a9c76ed35e Added --rpc-save-upload-metadata option
If true is given, which is default, save the uploaded torrent or
metalink metadata in the directory specified by --dir option. The
filename consists of SHA1-hash hex string of metadata plus
extension. For torrent, the extension is '.torrent'. For metalink, it
is '.meta4'.  If false is given to this option, the downloads added by
aria2.addTorrent or aria2.addMetalink will not be saved by
--save-session option.
2012-10-16 00:18:34 +09:00
Tatsuhiro Tsujikawa 4a4fec2c8c Removed socket readability check from checkIfConnectionEstablished() 2012-10-15 23:27:51 +09:00
Tatsuhiro Tsujikawa 841395f332 Perform SSL/TLS handshake after checking whether connection is established 2012-10-15 23:26:51 +09:00
Tatsuhiro Tsujikawa c904aa50fe Use uri_split instead of uri::parse where appropriate 2012-10-14 18:05:34 +09:00
Tatsuhiro Tsujikawa eebc704b19 Updated .gitignore 2012-10-14 00:15:49 +09:00
Tatsuhiro Tsujikawa 692f978978 Rewritten URI parser 2012-10-14 00:14:50 +09:00
Tatsuhiro Tsujikawa 5367c34de3 Fixed bug that mmap won't work if MultiDiskAdaptor is used 2012-10-08 19:13:01 +09:00
Tatsuhiro Tsujikawa 71620854c7 Moved bool members to the last to reduce structure size 2012-10-07 22:14:06 +09:00
Tatsuhiro Tsujikawa 8b0c701266 Removed trailing spaces 2012-10-01 23:52:22 +09:00
Tatsuhiro Tsujikawa 390b2e546e Updated po templates 2012-10-01 23:45:40 +09:00
Tatsuhiro Tsujikawa bc3c553b3c Updated doc 2012-09-30 19:08:40 +09:00
Tatsuhiro Tsujikawa 7c878d3c81 Moved implementation of SharedCount and WeakCount to cc file 2012-09-30 18:14:59 +09:00
Tatsuhiro Tsujikawa e34d0e7ffa Dont' return SharedHandle from HttpHeader::getRange() 2012-09-30 17:30:35 +09:00
Tatsuhiro Tsujikawa 492d6d1eeb Added RPC encryption command-line example 2012-09-30 17:07:54 +09:00
Tatsuhiro Tsujikawa 71cc44bedd Documented --rpc-private-key, --rpc-certificate and --rpc-secure in manpage 2012-09-30 17:04:14 +09:00